@@ -290,7 +290,7 @@ public function recipients(...$recipients): self
290290 {
291291 $ this ->recipients = array_merge (collect ($ recipients )
292292 ->flatten ()
293- ->filter (fn ($ email ) => $ this ->ensureValidEmail ($ email ))
293+ ->filter (fn ($ email ) => $ this ->ensureValidEmail ($ email ))
294294 ->unique ()
295295 ->toArray (), $ this ->recipients ?? []);
296296
@@ -364,13 +364,13 @@ public static function run(): void
364364 static ::query ()
365365 ->ready ()
366366 ->cursor ()
367- ->filter (fn (self $ schedule ) => $ schedule ->shouldSend ())
368- ->each (fn (self $ schedule ) => $ schedule ->execute ());
367+ ->filter (fn (self $ schedule ) => $ schedule ->shouldSend ())
368+ ->each (fn (self $ schedule ) => $ schedule ->execute ());
369369 }
370370
371371 public function hasCustomAction (): bool
372372 {
373- return !is_null ($ this ->action );
373+ return ! is_null ($ this ->action );
374374 }
375375
376376 public function getMailable (): ?Mailable
@@ -425,13 +425,13 @@ public function markAsFailed(string $failureReason): self
425425 public function getRecipients (): array
426426 {
427427 return collect ($ this ->recipients )
428- ->filter (fn ($ email ) => $ this ->ensureValidEmail ($ email ))
428+ ->filter (fn ($ email ) => $ this ->ensureValidEmail ($ email ))
429429 ->toArray ();
430430 }
431431
432432 protected function ensureValidEmail (string $ email ): bool
433433 {
434- return !Validator::make (
434+ return ! Validator::make (
435435 compact ('email ' ),
436436 ['email ' => 'required|email ' ]
437437 )->fails ();
@@ -444,7 +444,7 @@ public function actionClass(Action $action): self
444444 return $ this ;
445445 }
446446
447- public function tag (string | array $ tag ): self
447+ public function tag (string | array $ tag ): self
448448 {
449449 if (is_array ($ tag )) {
450450 $ tag = implode (', ' , $ tag );
0 commit comments