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
@@ -52,7 +52,7 @@ class DeploymentSuccess extends Notification implements ShouldQueue
|
||||
$channels = setNotificationChannels($notifiable, 'deployments');
|
||||
if (isCloud()) {
|
||||
// TODO: Make batch notifications work with email
|
||||
$channels = array_diff($channels, ['App\Notifications\Channels\EmailChannel']);
|
||||
$channels = array_diff($channels, [\App\Notifications\Channels\EmailChannel::class]);
|
||||
}
|
||||
|
||||
return $channels;
|
||||
|
||||
Reference in new issue
Block a user