Skip to content

Commit

Permalink
[ci-review] Rector Rectify
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizen-ci committed May 2, 2021
1 parent 0c7d3ce commit 7d8e0c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function isReturnTypeChangeAllowed(ClassMethod $classMethod): bool
);

// if null, we're unable to override → skip it
if ($parentClassMethod === null) {
if (! $parentClassMethod instanceof ClassMethod) {
return true;
}

Expand Down

0 comments on commit 7d8e0c2

Please sign in to comment.