File tree Expand file tree Collapse file tree 3 files changed +8
-27
lines changed Expand file tree Collapse file tree 3 files changed +8
-27
lines changed Original file line number Diff line number Diff line change @@ -186,22 +186,7 @@ parameters:
186186 path : src/Components/GroupKeyword.php
187187
188188 -
189- message : " #^Property PhpMyAdmin\\\\ SqlParser\\\\ Components\\\\ IndexHint\\ :\\ :\\ $for \\ (string\\ ) does not accept string\\ |null\\ .$#"
190- count : 1
191- path : src/Components/IndexHint.php
192-
193- -
194- message : " #^Property PhpMyAdmin\\\\ SqlParser\\\\ Components\\\\ IndexHint\\ :\\ :\\ $indexOrKey \\ (string\\ ) does not accept string\\ |null\\ .$#"
195- count : 1
196- path : src/Components/IndexHint.php
197-
198- -
199- message : " #^Property PhpMyAdmin\\\\ SqlParser\\\\ Components\\\\ IndexHint\\ :\\ :\\ $type \\ (string\\ ) does not accept mixed\\ .$#"
200- count : 1
201- path : src/Components/IndexHint.php
202-
203- -
204- message : " #^Property PhpMyAdmin\\\\ SqlParser\\\\ Components\\\\ IndexHint\\ :\\ :\\ $type \\ (string\\ ) does not accept string\\ |null\\ .$#"
189+ message : " #^Property PhpMyAdmin\\\\ SqlParser\\\\ Components\\\\ IndexHint\\ :\\ :\\ $type \\ (string\\ |null\\ ) does not accept mixed\\ .$#"
205190 count : 1
206191 path : src/Components/IndexHint.php
207192
Original file line number Diff line number Diff line change 234234 <MoreSpecificImplementedParamType occurrences =" 1" >
235235 <code >$component</code >
236236 </MoreSpecificImplementedParamType >
237- <PossiblyNullPropertyAssignmentValue occurrences =" 3" >
238- <code >$for</code >
239- <code >$indexOrKey</code >
240- <code >$type</code >
241- </PossiblyNullPropertyAssignmentValue >
242- <RedundantConditionGivenDocblockType occurrences =" 1" >
243- <code >$component-> for !== null</code >
244- </RedundantConditionGivenDocblockType >
237+ <PossiblyNullOperand occurrences =" 2" >
238+ <code >$component-> indexOrKey</code >
239+ <code >$component-> type</code >
240+ </PossiblyNullOperand >
245241 </file >
246242 <file src =" src/Components/IntoKeyword.php" >
247243 <MixedArgument occurrences =" 2" >
Original file line number Diff line number Diff line change @@ -22,21 +22,21 @@ class IndexHint extends Component
2222 /**
2323 * The type of hint (USE/FORCE/IGNORE)
2424 *
25- * @var string
25+ * @var string|null
2626 */
2727 public $ type ;
2828
2929 /**
3030 * What the hint is for (INDEX/KEY)
3131 *
32- * @var string
32+ * @var string|null
3333 */
3434 public $ indexOrKey ;
3535
3636 /**
3737 * The clause for which this hint is (JOIN/ORDER BY/GROUP BY)
3838 *
39- * @var string
39+ * @var string|null
4040 */
4141 public $ for ;
4242
You can’t perform that action at this time.
0 commit comments