Skip to content

Commit edca7fe

Browse files
committed
Try to make unit test OK with PHP 7.4.
1 parent 27351e8 commit edca7fe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tests/PHPStan/Analyser/nsrt/filter-var-returns-non-empty-string.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ public function run(
211211
* @param U $b
212212
* @return T|U
213213
*/
214-
private function anyOf($a, $b): mixed
214+
private function anyOf($a, $b)
215215
{
216216
return random_int(0, 1) ? $a : $b;
217217
}

0 commit comments

Comments
 (0)