File tree Expand file tree Collapse file tree 3 files changed +10
-10
lines changed
Expand file tree Collapse file tree 3 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ parameters:
77 count : 1
88 path : src/Query/Processor.php
99 -
10- message : ' #^Closure invoked with 2 parameters, 3 required \.$#'
11- identifier : arguments.count
12- count : 1
13- path : src/Schema/Builder .php
10+ message : ' #^Parameter \#1 \$pdo of method Illuminate\\Database\\Connection\:\:__construct\(\) expects \(Closure\(\)\: PDO\)\|PDO, Closure\(\)\: null given \.$#'
11+ identifier : argument.type
12+ count : 1
13+ path : src/Connection .php
1414
1515 -
16- message : ' #^Parameter \#2 of closure expects Closure, Closure\|null given \.$#'
17- identifier : argument.type
18- count : 1
19- path : src/Schema/Builder.php
16+ message : ' #^Property Illuminate\\Database\\Schema\\Builder\:\:\$resolver \(Closure\) in isset\(\) is not nullable \.$#'
17+ identifier : isset.property
18+ count : 1
19+ path : src/Schema/Builder.php
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ public function dropIndexIfExist($table, $name)
107107 protected function createBlueprint ($ table , ?Closure $ callback = null )
108108 {
109109 return isset ($ this ->resolver )
110- ? ($ this ->resolver )($ table , $ callback )
110+ ? ($ this ->resolver )($ this -> connection , $ table , $ callback )
111111 : new Blueprint ($ this ->connection , $ table , $ callback );
112112 }
113113
Original file line number Diff line number Diff line change @@ -882,7 +882,7 @@ protected function typeTokenList(Fluent $column): string
882882 * Get the SQL for an invisible column modifier.
883883 *
884884 * @param Blueprint $blueprint
885- * @param ColumnDefinition&object{ invisible: bool } $column
885+ * @param ColumnDefinition&object{ invisible: bool|null } $column
886886 * @return string|null
887887 */
888888 protected function modifyInvisible (Blueprint $ blueprint , Fluent $ column )
You can’t perform that action at this time.
0 commit comments