Skip to content

Commit

Permalink
Merge pull request #10 from SuryaWebfox/main
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
SuryaWebfox authored Jun 22, 2023
2 parents b0b04f3 + d0e71de commit 70bcacc
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/DataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ public function toArray(): array
->filter(fn (ReflectionMethod $method) => ! $method->isStatic() && ! in_array($method->name, $this->excludedMethods))
->mapWithKeys(function (ReflectionMethod $method) {
$returnType = $method->getReturnType();
// @phpstan-ignore-next-line
if ($returnType instanceof ReflectionNamedType && $returnType->getName() === LazyProp::class) {
return [$method->name => $method->invoke($this)];
}
Expand Down

0 comments on commit 70bcacc

Please sign in to comment.