mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Fix test incompatible with PHP 7.4
This commit is contained in:
parent
ea4b099c66
commit
b53a9c322c
@ -2759,7 +2759,7 @@ class ConditionalTest extends TestCase
|
||||
'falseErasureWithSmallerAndGreater' => [
|
||||
'code' => '<?php
|
||||
/** @return int|false */
|
||||
function getIntOrFalse(): int|bool {return false;}
|
||||
function getIntOrFalse() {return false;}
|
||||
$a = getIntOrFalse();
|
||||
|
||||
if ($a < 0) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user