Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rajyan authored and ondrejmirtes committed May 2, 2022
1 parent 5d1ee92 commit 55b9952
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
2 changes: 1 addition & 1 deletion src/Analyser/MutatingScope.php
Expand Up @@ -4494,7 +4494,7 @@ public function filterBySpecifiedTypes(SpecifiedTypes $specifiedTypes): self
}

if (!$typeGuards[$conditionExprString]->equals($conditionalType)) {
continue 2;
continue;
}

$matchingConditions[$conditionExprString] = $conditionalType;
Expand Down
Expand Up @@ -140,15 +140,7 @@ public function testTypesAssignedToPropertiesExpressionNames(): void
66,
],
[
'Property PropertiesFromArrayIntoObject\Foo::$float_test (float) does not accept float|int|string.',
69,
],
[
'Property PropertiesFromArrayIntoObject\Foo::$foo (string) does not accept float|int|string.',
69,
],
[
'Property PropertiesFromArrayIntoObject\Foo::$lall (int) does not accept float|int|string.',
'Property PropertiesFromArrayIntoObject\Foo::$lall (int) does not accept string.',
69,
],
[
Expand Down

0 comments on commit 55b9952

Please sign in to comment.