Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
jojomak350 committed Jan 17, 2025
1 parent 76f8146 commit 4c41d39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Routing/Concerns/HasCustomAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public function callAction($method, $parameters)
$attributes->each(function (ReflectionAttribute $attribute) {
$instance = $attribute->newInstance();

if(method_exists($instance, 'handle')) {
if (method_exists($instance, 'handle')) {
$attribute->newInstance()->handle(...$attribute->getArguments());
}
});
Expand All @@ -28,6 +28,6 @@ public function callAction($method, $parameters)
private function gteCustomAttributes(ReflectionMethod $reflection): Collection
{
return collect($reflection->getAttributes())
->filter(fn(ReflectionAttribute $attr) => $attr->newInstance() instanceof ICustomAttribute);
->filter(fn (ReflectionAttribute $attr) => $attr->newInstance() instanceof ICustomAttribute);
}
}

0 comments on commit 4c41d39

Please sign in to comment.