Skip to content

Commit ca192db

Browse files
Fix
1 parent 49a6bef commit ca192db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/Php/VersionCompareFunctionDynamicReturnTypeExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function getTypeFromFunctionCall(
119119
}
120120

121121
$value = version_compare($version1String->getValue(), $version2String->getValue(), $operatorValue);
122-
$types[$value] = new ConstantBooleanType($value);
122+
$types[(int) $value] = new ConstantBooleanType($value);
123123
}
124124
} else {
125125
$value = version_compare($version1String->getValue(), $version2String->getValue());

0 commit comments

Comments
 (0)