Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze authored and actions-user committed Feb 16, 2022
1 parent 562bdbf commit 005a9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Exceptions/InvalidMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class InvalidMethod extends Exception
public static function make(string $invalidMethodName, Collection $validMethodNames): self
{
$validMethodNames = $validMethodNames
->map(fn(string $method) => "`{$method}`")
->map(fn (string $method) => "`{$method}`")
->join(', ', ' and ');

return new static("`{$invalidMethodName}` is not a valid name. Valid method names are {$validMethodNames}.");
Expand Down

0 comments on commit 005a9a2

Please sign in to comment.