@@ -2,17 +2,17 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Notifications; |
| 4 | 4 | |
| 5 | -use Ramsey\Uuid\Uuid; |
|
| 6 | -use InvalidArgumentException; |
|
| 7 | -use Illuminate\Support\Manager; |
|
| 8 | -use Nexmo\Client as NexmoClient; |
|
| 9 | -use Illuminate\Support\Collection; |
|
| 10 | 5 | use GuzzleHttp\Client as HttpClient; |
| 11 | -use Illuminate\Contracts\Queue\ShouldQueue; |
|
| 12 | 6 | use Illuminate\Contracts\Bus\Dispatcher as Bus; |
| 13 | -use Nexmo\Client\Credentials\Basic as NexmoCredentials; |
|
| 14 | -use Illuminate\Contracts\Notifications\Factory as FactoryContract; |
|
| 15 | 7 | use Illuminate\Contracts\Notifications\Dispatcher as DispatcherContract; |
| 8 | +use Illuminate\Contracts\Notifications\Factory as FactoryContract; |
|
| 9 | +use Illuminate\Contracts\Queue\ShouldQueue; |
|
| 10 | +use Illuminate\Support\Collection; |
|
| 11 | +use Illuminate\Support\Manager; |
|
| 12 | +use InvalidArgumentException; |
|
| 13 | +use Nexmo\Client as NexmoClient; |
|
| 14 | +use Nexmo\Client\Credentials\Basic as NexmoCredentials; |
|
| 15 | +use Ramsey\Uuid\Uuid; |
|
| 16 | 16 | |
| 17 | 17 | class ChannelManager extends Manager implements DispatcherContract, FactoryContract |
| 18 | 18 | { |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Notifications\Channels; |
| 4 | 4 | |
| 5 | -use RuntimeException; |
|
| 6 | -use Illuminate\Notifications\Notification; |
|
| 7 | 5 | use Illuminate\Contracts\Events\Dispatcher; |
| 8 | 6 | use Illuminate\Notifications\Events\BroadcastNotificationCreated; |
| 7 | +use Illuminate\Notifications\Notification; |
|
| 8 | +use RuntimeException; |
|
| 9 | 9 | |
| 10 | 10 | class BroadcastChannel |
| 11 | 11 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Notifications\Channels; |
| 4 | 4 | |
| 5 | -use RuntimeException; |
|
| 6 | 5 | use Illuminate\Notifications\Notification; |
| 6 | +use RuntimeException; |
|
| 7 | 7 | |
| 8 | 8 | class DatabaseChannel |
| 9 | 9 | { |
@@ -2,9 +2,9 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Notifications\Channels; |
| 4 | 4 | |
| 5 | -use Nexmo\Client as NexmoClient; |
|
| 6 | -use Illuminate\Notifications\Notification; |
|
| 7 | 5 | use Illuminate\Notifications\Messages\NexmoMessage; |
| 6 | +use Illuminate\Notifications\Notification; |
|
| 7 | +use Nexmo\Client as NexmoClient; |
|
| 8 | 8 | |
| 9 | 9 | class NexmoSmsChannel |
| 10 | 10 | { |
@@ -3,9 +3,9 @@ |
||
| 3 | 3 | namespace Illuminate\Notifications\Channels; |
| 4 | 4 | |
| 5 | 5 | use GuzzleHttp\Client as HttpClient; |
| 6 | -use Illuminate\Notifications\Notification; |
|
| 7 | -use Illuminate\Notifications\Messages\SlackMessage; |
|
| 8 | 6 | use Illuminate\Notifications\Messages\SlackAttachment; |
| 7 | +use Illuminate\Notifications\Messages\SlackMessage; |
|
| 8 | +use Illuminate\Notifications\Notification; |
|
| 9 | 9 | |
| 10 | 10 | class SlackWebhookChannel |
| 11 | 11 | { |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace Illuminate\Notifications\Console; |
| 4 | 4 | |
| 5 | 5 | use Illuminate\Console\Command; |
| 6 | -use Illuminate\Support\Composer; |
|
| 7 | 6 | use Illuminate\Filesystem\Filesystem; |
| 7 | +use Illuminate\Support\Composer; |
|
| 8 | 8 | |
| 9 | 9 | class NotificationTableCommand extends Command |
| 10 | 10 | { |
@@ -2,10 +2,10 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Notifications\Events; |
| 4 | 4 | |
| 5 | -use Illuminate\Queue\SerializesModels; |
|
| 6 | -use Illuminate\Notifications\Notification; |
|
| 7 | 5 | use Illuminate\Broadcasting\PrivateChannel; |
| 8 | 6 | use Illuminate\Contracts\Broadcasting\ShouldBroadcast; |
| 7 | +use Illuminate\Notifications\Notification; |
|
| 8 | +use Illuminate\Queue\SerializesModels; |
|
| 9 | 9 | |
| 10 | 10 | class BroadcastNotificationCreated implements ShouldBroadcast |
| 11 | 11 | { |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Notifications; |
| 4 | 4 | |
| 5 | -use Illuminate\Support\Str; |
|
| 6 | 5 | use Illuminate\Contracts\Notifications\Dispatcher; |
| 6 | +use Illuminate\Support\Str; |
|
| 7 | 7 | |
| 8 | 8 | trait RoutesNotifications |
| 9 | 9 | { |
@@ -3,8 +3,8 @@ |
||
| 3 | 3 | namespace Illuminate\Notifications; |
| 4 | 4 | |
| 5 | 5 | use Illuminate\Bus\Queueable; |
| 6 | -use Illuminate\Queue\SerializesModels; |
|
| 7 | 6 | use Illuminate\Contracts\Queue\ShouldQueue; |
| 7 | +use Illuminate\Queue\SerializesModels; |
|
| 8 | 8 | |
| 9 | 9 | class SendQueuedNotifications implements ShouldQueue |
| 10 | 10 | { |