Skip to content

Commit 015b76b

Browse files
authored
Remove redundant filter expression.
1 parent f3cd266 commit 015b76b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/DataProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ public function toArray(): array
3838
->map(fn ($value) => $value instanceof Arrayable ? $value->toArray() : $value);
3939

4040
$convertedMethods = collect($reflectionClass->getMethods(ReflectionMethod::IS_PUBLIC))
41-
->filter(fn (ReflectionMethod $method) => ! $method->isStatic())
4241
->filter(fn (ReflectionMethod $method) => ! $method->isStatic() && ! in_array($method->name, $this->excludedMethods))
4342
->mapWithKeys(function (ReflectionMethod $method) {
4443
$returnType = $method->getReturnType();

0 commit comments

Comments
 (0)