Skip to content

Commit

Permalink
fixup! fixup! migrate code to PHPStan 0.12
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Dec 8, 2019
1 parent d82c443 commit 47c9eb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public function refactor(Node $node): ?Node
}
}

// nullable aase
// nullable case
if ($currentType instanceof UnionType && $inferedType instanceof UnionType) {
if ($inferedType->isSubTypeOf($currentType)->yes()) {
return null;
Expand Down

0 comments on commit 47c9eb3

Please sign in to comment.