@@ -4,10 +4,10 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface Htmlable |
| 6 | 6 | { |
| 7 | - /** |
|
| 8 | - * Get content as a string of HTML. |
|
| 9 | - * |
|
| 10 | - * @return string |
|
| 11 | - */ |
|
| 12 | - public function toHtml(); |
|
| 7 | + /** |
|
| 8 | + * Get content as a string of HTML. |
|
| 9 | + * |
|
| 10 | + * @return string |
|
| 11 | + */ |
|
| 12 | + public function toHtml(); |
|
| 13 | 13 | } |
@@ -4,10 +4,10 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface Renderable |
| 6 | 6 | { |
| 7 | - /** |
|
| 8 | - * Get the evaluated contents of the object. |
|
| 9 | - * |
|
| 10 | - * @return string |
|
| 11 | - */ |
|
| 12 | - public function render(); |
|
| 7 | + /** |
|
| 8 | + * Get the evaluated contents of the object. |
|
| 9 | + * |
|
| 10 | + * @return string |
|
| 11 | + */ |
|
| 12 | + public function render(); |
|
| 13 | 13 | } |
@@ -4,11 +4,11 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface Jsonable |
| 6 | 6 | { |
| 7 | - /** |
|
| 8 | - * Convert the object to its JSON representation. |
|
| 9 | - * |
|
| 10 | - * @param int $options |
|
| 11 | - * @return string |
|
| 12 | - */ |
|
| 13 | - public function toJson($options = 0); |
|
| 7 | + /** |
|
| 8 | + * Convert the object to its JSON representation. |
|
| 9 | + * |
|
| 10 | + * @param int $options |
|
| 11 | + * @return string |
|
| 12 | + */ |
|
| 13 | + public function toJson($options = 0); |
|
| 14 | 14 | } |
@@ -4,21 +4,21 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface Dispatcher |
| 6 | 6 | { |
| 7 | - /** |
|
| 8 | - * Send the given notification to the given notifiable entities. |
|
| 9 | - * |
|
| 10 | - * @param \Illuminate\Support\Collection|array|mixed $notifiables |
|
| 11 | - * @param mixed $notification |
|
| 12 | - * @return void |
|
| 13 | - */ |
|
| 14 | - public function send($notifiables, $notification); |
|
| 7 | + /** |
|
| 8 | + * Send the given notification to the given notifiable entities. |
|
| 9 | + * |
|
| 10 | + * @param \Illuminate\Support\Collection|array|mixed $notifiables |
|
| 11 | + * @param mixed $notification |
|
| 12 | + * @return void |
|
| 13 | + */ |
|
| 14 | + public function send($notifiables, $notification); |
|
| 15 | 15 | |
| 16 | - /** |
|
| 17 | - * Send the given notification immediately. |
|
| 18 | - * |
|
| 19 | - * @param \Illuminate\Support\Collection|array|mixed $notifiables |
|
| 20 | - * @param mixed $notification |
|
| 21 | - * @return void |
|
| 22 | - */ |
|
| 23 | - public function sendNow($notifiables, $notification); |
|
| 16 | + /** |
|
| 17 | + * Send the given notification immediately. |
|
| 18 | + * |
|
| 19 | + * @param \Illuminate\Support\Collection|array|mixed $notifiables |
|
| 20 | + * @param mixed $notification |
|
| 21 | + * @return void |
|
| 22 | + */ |
|
| 23 | + public function sendNow($notifiables, $notification); |
|
| 24 | 24 | } |
@@ -4,29 +4,29 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface Factory |
| 6 | 6 | { |
| 7 | - /** |
|
| 8 | - * Get a channel instance by name. |
|
| 9 | - * |
|
| 10 | - * @param string|null $name |
|
| 11 | - * @return mixed |
|
| 12 | - */ |
|
| 13 | - public function channel($name = null); |
|
| 7 | + /** |
|
| 8 | + * Get a channel instance by name. |
|
| 9 | + * |
|
| 10 | + * @param string|null $name |
|
| 11 | + * @return mixed |
|
| 12 | + */ |
|
| 13 | + public function channel($name = null); |
|
| 14 | 14 | |
| 15 | - /** |
|
| 16 | - * Send the given notification to the given notifiable entities. |
|
| 17 | - * |
|
| 18 | - * @param \Illuminate\Support\Collection|array|mixed $notifiables |
|
| 19 | - * @param mixed $notification |
|
| 20 | - * @return void |
|
| 21 | - */ |
|
| 22 | - public function send($notifiables, $notification); |
|
| 15 | + /** |
|
| 16 | + * Send the given notification to the given notifiable entities. |
|
| 17 | + * |
|
| 18 | + * @param \Illuminate\Support\Collection|array|mixed $notifiables |
|
| 19 | + * @param mixed $notification |
|
| 20 | + * @return void |
|
| 21 | + */ |
|
| 22 | + public function send($notifiables, $notification); |
|
| 23 | 23 | |
| 24 | - /** |
|
| 25 | - * Send the given notification immediately. |
|
| 26 | - * |
|
| 27 | - * @param \Illuminate\Support\Collection|array|mixed $notifiables |
|
| 28 | - * @param mixed $notification |
|
| 29 | - * @return void |
|
| 30 | - */ |
|
| 31 | - public function sendNow($notifiables, $notification); |
|
| 24 | + /** |
|
| 25 | + * Send the given notification immediately. |
|
| 26 | + * |
|
| 27 | + * @param \Illuminate\Support\Collection|array|mixed $notifiables |
|
| 28 | + * @param mixed $notification |
|
| 29 | + * @return void |
|
| 30 | + */ |
|
| 31 | + public function sendNow($notifiables, $notification); |
|
| 32 | 32 | } |
@@ -4,34 +4,34 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface Kernel |
| 6 | 6 | { |
| 7 | - /** |
|
| 8 | - * Bootstrap the application for HTTP requests. |
|
| 9 | - * |
|
| 10 | - * @return void |
|
| 11 | - */ |
|
| 12 | - public function bootstrap(); |
|
| 7 | + /** |
|
| 8 | + * Bootstrap the application for HTTP requests. |
|
| 9 | + * |
|
| 10 | + * @return void |
|
| 11 | + */ |
|
| 12 | + public function bootstrap(); |
|
| 13 | 13 | |
| 14 | - /** |
|
| 15 | - * Handle an incoming HTTP request. |
|
| 16 | - * |
|
| 17 | - * @param \Symfony\Component\HttpFoundation\Request $request |
|
| 18 | - * @return \Symfony\Component\HttpFoundation\Response |
|
| 19 | - */ |
|
| 20 | - public function handle($request); |
|
| 14 | + /** |
|
| 15 | + * Handle an incoming HTTP request. |
|
| 16 | + * |
|
| 17 | + * @param \Symfony\Component\HttpFoundation\Request $request |
|
| 18 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 19 | + */ |
|
| 20 | + public function handle($request); |
|
| 21 | 21 | |
| 22 | - /** |
|
| 23 | - * Perform any final actions for the request lifecycle. |
|
| 24 | - * |
|
| 25 | - * @param \Symfony\Component\HttpFoundation\Request $request |
|
| 26 | - * @param \Symfony\Component\HttpFoundation\Response $response |
|
| 27 | - * @return void |
|
| 28 | - */ |
|
| 29 | - public function terminate($request, $response); |
|
| 22 | + /** |
|
| 23 | + * Perform any final actions for the request lifecycle. |
|
| 24 | + * |
|
| 25 | + * @param \Symfony\Component\HttpFoundation\Request $request |
|
| 26 | + * @param \Symfony\Component\HttpFoundation\Response $response |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 29 | + public function terminate($request, $response); |
|
| 30 | 30 | |
| 31 | - /** |
|
| 32 | - * Get the Laravel application instance. |
|
| 33 | - * |
|
| 34 | - * @return \Illuminate\Contracts\Foundation\Application |
|
| 35 | - */ |
|
| 36 | - public function getApplication(); |
|
| 31 | + /** |
|
| 32 | + * Get the Laravel application instance. |
|
| 33 | + * |
|
| 34 | + * @return \Illuminate\Contracts\Foundation\Application |
|
| 35 | + */ |
|
| 36 | + public function getApplication(); |
|
| 37 | 37 | } |
@@ -4,27 +4,27 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface Monitor |
| 6 | 6 | { |
| 7 | - /** |
|
| 8 | - * Register a callback to be executed on every iteration through the queue loop. |
|
| 9 | - * |
|
| 10 | - * @param mixed $callback |
|
| 11 | - * @return void |
|
| 12 | - */ |
|
| 13 | - public function looping($callback); |
|
| 7 | + /** |
|
| 8 | + * Register a callback to be executed on every iteration through the queue loop. |
|
| 9 | + * |
|
| 10 | + * @param mixed $callback |
|
| 11 | + * @return void |
|
| 12 | + */ |
|
| 13 | + public function looping($callback); |
|
| 14 | 14 | |
| 15 | - /** |
|
| 16 | - * Register a callback to be executed when a job fails after the maximum amount of retries. |
|
| 17 | - * |
|
| 18 | - * @param mixed $callback |
|
| 19 | - * @return void |
|
| 20 | - */ |
|
| 21 | - public function failing($callback); |
|
| 15 | + /** |
|
| 16 | + * Register a callback to be executed when a job fails after the maximum amount of retries. |
|
| 17 | + * |
|
| 18 | + * @param mixed $callback |
|
| 19 | + * @return void |
|
| 20 | + */ |
|
| 21 | + public function failing($callback); |
|
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Register a callback to be executed when a daemon queue is stopping. |
|
| 25 | - * |
|
| 26 | - * @param mixed $callback |
|
| 27 | - * @return void |
|
| 28 | - */ |
|
| 29 | - public function stopping($callback); |
|
| 23 | + /** |
|
| 24 | + * Register a callback to be executed when a daemon queue is stopping. |
|
| 25 | + * |
|
| 26 | + * @param mixed $callback |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 29 | + public function stopping($callback); |
|
| 30 | 30 | } |
@@ -4,5 +4,5 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface ShouldQueue |
| 6 | 6 | { |
| 7 | - // |
|
| 7 | + // |
|
| 8 | 8 | } |
@@ -6,17 +6,17 @@ |
||
| 6 | 6 | |
| 7 | 7 | class EntityNotFoundException extends InvalidArgumentException |
| 8 | 8 | { |
| 9 | - /** |
|
| 10 | - * Create a new exception instance. |
|
| 11 | - * |
|
| 12 | - * @param string $type |
|
| 13 | - * @param mixed $id |
|
| 14 | - * @return void |
|
| 15 | - */ |
|
| 16 | - public function __construct($type, $id) |
|
| 17 | - { |
|
| 18 | - $id = (string) $id; |
|
| 9 | + /** |
|
| 10 | + * Create a new exception instance. |
|
| 11 | + * |
|
| 12 | + * @param string $type |
|
| 13 | + * @param mixed $id |
|
| 14 | + * @return void |
|
| 15 | + */ |
|
| 16 | + public function __construct($type, $id) |
|
| 17 | + { |
|
| 18 | + $id = (string) $id; |
|
| 19 | 19 | |
| 20 | - parent::__construct("Queueable entity [{$type}] not found for ID [{$id}]."); |
|
| 21 | - } |
|
| 20 | + parent::__construct("Queueable entity [{$type}] not found for ID [{$id}]."); |
|
| 21 | + } |
|
| 22 | 22 | } |