Skip to content

Commit 38d308d

Browse files
committed
Fix PHPStan
1 parent 14a2cf2 commit 38d308d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/EntitySearcher/EntitySearcher.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,6 @@ public function classCanBeGenerated(ClassMetadata $metadata): bool
7878
}
7979

8080
$reflectionClass = $metadata->getReflectionClass();
81-
if (!$reflectionClass) {
82-
return false;
83-
}
8481
if ($reflectionClass->isInterface() || $reflectionClass->isTrait()) {
8582
return false;
8683
}

0 commit comments

Comments
 (0)