Skip to content

Commit

Permalink
fix cs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomirons committed Sep 8, 2023
1 parent af9b052 commit 2e4b61c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Processors/RouteProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,10 @@ private function getReflectionMethod(array $routeAction): ?object
private function containsSerializedClosure(array $action): bool
{
return is_string($action['uses']) && Str::startsWith($action['uses'], [
'C:32:"Opis\\Closure\\SerializableClosure',
'O:47:"Laravel\SerializableClosure\\SerializableClosure',
'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure',
]);
'C:32:"Opis\\Closure\\SerializableClosure',
'O:47:"Laravel\SerializableClosure\\SerializableClosure',
'O:55:"Laravel\\SerializableClosure\\UnsignedSerializableClosure',
]);
}

protected function buildTree(array &$routes, array $segments, array $request): void
Expand Down Expand Up @@ -310,7 +310,7 @@ protected function handleEdgeCases(array $messages): array
/**
* In this case we have received what is most likely a Rule Object but are not certain.
*
* @param $probableRule
* @param $probableRule
* @return string
*/
protected function safelyStringifyClassBasedRule($probableRule): string
Expand Down

0 comments on commit 2e4b61c

Please sign in to comment.