mirror of
https://github.com/tiennm99/coolify.git
synced 2026-09-20 04:23:16 +00:00
Always prefer ::class notation
This commit is contained in:
1 parent
94e73c6d8b
commit
c5403b0b3f
31 files changed
+99
-99
No files matched your search
@@ -25,7 +25,7 @@ class Test extends Notification implements ShouldQueue
|
||||
public function middleware(object $notifiable, string $channel)
|
||||
{
|
||||
return match ($channel) {
|
||||
'App\Notifications\Channels\EmailChannel' => [new RateLimited('email')],
|
||||
\App\Notifications\Channels\EmailChannel::class => [new RateLimited('email')],
|
||||
default => [],
|
||||
};
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user