1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Fix test incompatible with PHP 7.4

This commit is contained in:
orklah 2022-11-24 20:06:02 +01:00
parent ea4b099c66
commit b53a9c322c

View File

@ -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) {