Commit 13e5f02
committed
test: fix incorrect condition
------ -----------------------------------------------------------------------
Line tests/Language/AbstractTranslationTestCase.php
------ -----------------------------------------------------------------------
327 Strict comparison using === between array{list<non-empty-string>} and
array{} will always evaluate to false.
💡 Because the type is coming from a PHPDoc, you can turn off this
check by setting treatPhpDocTypesAsCertain: false in your
phpstan.neon.dist.
------ -----------------------------------------------------------------------1 parent 223fbd9 commit 13e5f02
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
324 | 324 | | |
325 | 325 | | |
326 | 326 | | |
327 | | - | |
| 327 | + | |
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| |||
0 commit comments