@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Notifications; |
4 | 4 | |
5 | -interface Dispatcher |
|
6 | -{ |
|
5 | +interface Dispatcher { |
|
7 | 6 | /** |
8 | 7 | * Send the given notification to the given notifiable entities. |
9 | 8 | * |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Notifications; |
4 | 4 | |
5 | -interface Factory |
|
6 | -{ |
|
5 | +interface Factory { |
|
7 | 6 | /** |
8 | 7 | * Get a channel instance by name. |
9 | 8 | * |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Http; |
4 | 4 | |
5 | -interface Kernel |
|
6 | -{ |
|
5 | +interface Kernel { |
|
7 | 6 | /** |
8 | 7 | * Bootstrap the application for HTTP requests. |
9 | 8 | * |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Queue; |
4 | 4 | |
5 | -interface QueueableEntity |
|
6 | -{ |
|
5 | +interface QueueableEntity { |
|
7 | 6 | /** |
8 | 7 | * Get the queueable identity for the entity. |
9 | 8 | * |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Queue; |
4 | 4 | |
5 | -interface Monitor |
|
6 | -{ |
|
5 | +interface Monitor { |
|
7 | 6 | /** |
8 | 7 | * Register a callback to be executed on every iteration through the queue loop. |
9 | 8 | * |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Queue; |
4 | 4 | |
5 | -interface ShouldQueue |
|
6 | -{ |
|
5 | +interface ShouldQueue { |
|
7 | 6 | // |
8 | 7 | } |
@@ -4,8 +4,7 @@ discard block |
||
4 | 4 | |
5 | 5 | use InvalidArgumentException; |
6 | 6 | |
7 | -class EntityNotFoundException extends InvalidArgumentException |
|
8 | -{ |
|
7 | +class EntityNotFoundException extends InvalidArgumentException { |
|
9 | 8 | /** |
10 | 9 | * Create a new exception instance. |
11 | 10 | * |
@@ -13,8 +12,7 @@ discard block |
||
13 | 12 | * @param mixed $id |
14 | 13 | * @return void |
15 | 14 | */ |
16 | - public function __construct($type, $id) |
|
17 | - { |
|
15 | + public function __construct($type, $id) { |
|
18 | 16 | $id = (string) $id; |
19 | 17 | |
20 | 18 | parent::__construct("Queueable entity [{$type}] not found for ID [{$id}]."); |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Queue; |
4 | 4 | |
5 | -interface Queue |
|
6 | -{ |
|
5 | +interface Queue { |
|
7 | 6 | /** |
8 | 7 | * Get the size of the queue. |
9 | 8 | * |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Illuminate\Contracts\Queue; |
4 | 4 | |
5 | -interface QueueableCollection |
|
6 | -{ |
|
5 | +interface QueueableCollection { |
|
7 | 6 | /** |
8 | 7 | * Get the type of the entities being queued. |
9 | 8 | * |