Repository navigation
Commit 5cb1d75
committed
refactor: remove false from return type of command() and BootstrapFCPATHTest::readOutput()
PHPStan 2.x reports "unusedType" error when functions/methods return type hints include false but the function/method never returns false. Since ob_get_contents() and ob_get_clean() are guaranteed to return strings because output buffering was started right before them, these methods/functions never return false.1 parent 1bf87a1 commit 5cb1d75
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
| |||
0 commit comments