1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00
This commit is contained in:
Matthew Brown 2020-01-27 23:52:06 -05:00
parent 82bb3b90f0
commit 10221f474f

View File

@ -1399,9 +1399,9 @@ class FunctionCallTest extends TestCase
],
'versionCompare' => [
'<?php
/** @return "=="|"===" */
/** @return "="|"==" */
function getString() : string {
return rand(0, 1) ? "===" : "==";
return rand(0, 1) ? "==" : "=";
}
$a = version_compare("5.0.0", "7.0.0");
@ -1411,7 +1411,7 @@ class FunctionCallTest extends TestCase
'assertions' => [
'$a' => 'int',
'$b' => 'bool',
'$c' => 'bool|null',
'$c' => 'bool',
],
],
'getTimeOfDay' => [