From 46a6f6323aff58fc8ad2dd2dad5b5abfba07a22e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20H=C3=A4drich?= <11225821+shaedrich@users.noreply.github.com> Date: Fri, 20 Dec 2024 09:06:10 +0100 Subject: [PATCH] Fix syntax error --- src/Illuminate/Console/Scheduling/ManagesFrequencies.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Console/Scheduling/ManagesFrequencies.php b/src/Illuminate/Console/Scheduling/ManagesFrequencies.php index 35355b20c88..e9e951b6c3f 100644 --- a/src/Illuminate/Console/Scheduling/ManagesFrequencies.php +++ b/src/Illuminate/Console/Scheduling/ManagesFrequencies.php @@ -31,7 +31,7 @@ public function parseAtExpression(string $expression) 'midnight' => $this->daily(), default => method_exists($this, $expression) ? $this->{$expression}() - : throw new InvalidArgumentException("The at expression [$expression] is invalid"); + : throw new InvalidArgumentException("The at expression [$expression] is invalid"), }; return $this;