Skip to content

Commit

Permalink
run pint
Browse files Browse the repository at this point in the history
  • Loading branch information
tomirons committed Mar 6, 2024
1 parent 671b9c9 commit 8e55fa5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions src/Processors/RouteProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ protected function processRoute(Route $route)
->after('/')
->replaceMatches('/{([[:alnum:]]+)}/', ':$1');

// if (!$uri->toString()) {
// return [];
// }
// if (!$uri->toString()) {
// return [];
// }

$data = [
'name' => $route->uri(),
Expand Down Expand Up @@ -296,6 +296,7 @@ protected function handleEdgeCases(array $messages): array
foreach ($messages as $key => $message) {
if ($message === 'validation.nullable') {
$messages[$key] = '(Nullable)';

continue;
}

Expand All @@ -309,9 +310,6 @@ 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
* @return string
*/
protected function safelyStringifyClassBasedRule($probableRule): string
{
Expand Down

0 comments on commit 8e55fa5

Please sign in to comment.