Skip to content

Commit

Permalink
Fix test incompatible with PHP 7.4
Browse files Browse the repository at this point in the history
  • Loading branch information
orklah committed Nov 24, 2022
1 parent ea4b099 commit b53a9c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/TypeReconciliation/ConditionalTest.php
Expand Up @@ -2759,7 +2759,7 @@ function getIntOrNull(): ?int{return null;}
'falseErasureWithSmallerAndGreater' => [
'code' => '<?php
/** @return int|false */
function getIntOrFalse(): int|bool {return false;}
function getIntOrFalse() {return false;}
$a = getIntOrFalse();
if ($a < 0) {
Expand Down

0 comments on commit b53a9c3

Please sign in to comment.