Skip to content

Commit 5d50142

Browse files
committed
Improve compatibility with PHPStan 1.0
1 parent 234cb55 commit 5d50142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/Rules/PHPUnit/ShouldCallParentMethodsRule.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function processNode(Node $node, Scope $scope): array
3535

3636
$parentClass = $scope->getClassReflection()->getParentClass();
3737

38-
if ($parentClass === false) {
38+
if ($parentClass === null) {
3939
return [];
4040
}
4141
if (!$parentClass->hasNativeMethod($methodName)) {

0 commit comments

Comments
 (0)