@@ -2,8 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Contracts\Redis; |
| 4 | 4 | |
| 5 | -interface Factory |
|
| 6 | -{ |
|
| 5 | +interface Factory { |
|
| 7 | 6 | /** |
| 8 | 7 | * Get a Redis connection by name. |
| 9 | 8 | * |
@@ -10,11 +10,11 @@ |
||
| 10 | 10 | |
| 11 | 11 | interface Factory |
| 12 | 12 | { |
| 13 | - /** |
|
| 14 | - * Get a Redis connection by name. |
|
| 15 | - * |
|
| 16 | - * @param string $name |
|
| 17 | - * @return \Illuminate\Redis\Connections\Connection |
|
| 18 | - */ |
|
| 19 | - public function connection($name = null); |
|
| 13 | + /** |
|
| 14 | + * Get a Redis connection by name. |
|
| 15 | + * |
|
| 16 | + * @param string $name |
|
| 17 | + * @return \Illuminate\Redis\Connections\Connection |
|
| 18 | + */ |
|
| 19 | + public function connection($name = null); |
|
| 20 | 20 | } |
@@ -16,5 +16,5 @@ |
||
| 16 | 16 | * @param string $name |
| 17 | 17 | * @return \Illuminate\Redis\Connections\Connection |
| 18 | 18 | */ |
| 19 | - public function connection($name = null); |
|
| 19 | + public function connection( $name = null ); |
|
| 20 | 20 | } |
@@ -2,8 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Contracts\Container; |
| 4 | 4 | |
| 5 | -interface ContextualBindingBuilder |
|
| 6 | -{ |
|
| 5 | +interface ContextualBindingBuilder { |
|
| 7 | 6 | /** |
| 8 | 7 | * Define the abstract target that depends on the context. |
| 9 | 8 | * |
@@ -10,19 +10,19 @@ |
||
| 10 | 10 | |
| 11 | 11 | interface ContextualBindingBuilder |
| 12 | 12 | { |
| 13 | - /** |
|
| 14 | - * Define the abstract target that depends on the context. |
|
| 15 | - * |
|
| 16 | - * @param string $abstract |
|
| 17 | - * @return $this |
|
| 18 | - */ |
|
| 19 | - public function needs($abstract); |
|
| 13 | + /** |
|
| 14 | + * Define the abstract target that depends on the context. |
|
| 15 | + * |
|
| 16 | + * @param string $abstract |
|
| 17 | + * @return $this |
|
| 18 | + */ |
|
| 19 | + public function needs($abstract); |
|
| 20 | 20 | |
| 21 | - /** |
|
| 22 | - * Define the implementation for the contextual binding. |
|
| 23 | - * |
|
| 24 | - * @param \Closure|string $implementation |
|
| 25 | - * @return void |
|
| 26 | - */ |
|
| 27 | - public function give($implementation); |
|
| 21 | + /** |
|
| 22 | + * Define the implementation for the contextual binding. |
|
| 23 | + * |
|
| 24 | + * @param \Closure|string $implementation |
|
| 25 | + * @return void |
|
| 26 | + */ |
|
| 27 | + public function give($implementation); |
|
| 28 | 28 | } |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | * @param string $abstract |
| 17 | 17 | * @return $this |
| 18 | 18 | */ |
| 19 | - public function needs($abstract); |
|
| 19 | + public function needs( $abstract ); |
|
| 20 | 20 | |
| 21 | 21 | /** |
| 22 | 22 | * Define the implementation for the contextual binding. |
@@ -24,5 +24,5 @@ discard block |
||
| 24 | 24 | * @param \Closure|string $implementation |
| 25 | 25 | * @return void |
| 26 | 26 | */ |
| 27 | - public function give($implementation); |
|
| 27 | + public function give( $implementation ); |
|
| 28 | 28 | } |
@@ -4,8 +4,7 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Illuminate\Contracts\Container\Container; |
| 6 | 6 | |
| 7 | -interface Application extends Container |
|
| 8 | -{ |
|
| 7 | +interface Application extends Container { |
|
| 9 | 8 | /** |
| 10 | 9 | * Get the version number of the application. |
| 11 | 10 | * |
@@ -6,87 +6,87 @@ |
||
| 6 | 6 | |
| 7 | 7 | interface Application extends Container |
| 8 | 8 | { |
| 9 | - /** |
|
| 10 | - * Get the version number of the application. |
|
| 11 | - * |
|
| 12 | - * @return string |
|
| 13 | - */ |
|
| 14 | - public function version(); |
|
| 9 | + /** |
|
| 10 | + * Get the version number of the application. |
|
| 11 | + * |
|
| 12 | + * @return string |
|
| 13 | + */ |
|
| 14 | + public function version(); |
|
| 15 | 15 | |
| 16 | - /** |
|
| 17 | - * Get the base path of the Laravel installation. |
|
| 18 | - * |
|
| 19 | - * @return string |
|
| 20 | - */ |
|
| 21 | - public function basePath(); |
|
| 16 | + /** |
|
| 17 | + * Get the base path of the Laravel installation. |
|
| 18 | + * |
|
| 19 | + * @return string |
|
| 20 | + */ |
|
| 21 | + public function basePath(); |
|
| 22 | 22 | |
| 23 | - /** |
|
| 24 | - * Get or check the current application environment. |
|
| 25 | - * |
|
| 26 | - * @return string |
|
| 27 | - */ |
|
| 28 | - public function environment(); |
|
| 23 | + /** |
|
| 24 | + * Get or check the current application environment. |
|
| 25 | + * |
|
| 26 | + * @return string |
|
| 27 | + */ |
|
| 28 | + public function environment(); |
|
| 29 | 29 | |
| 30 | - /** |
|
| 31 | - * Determine if the application is currently down for maintenance. |
|
| 32 | - * |
|
| 33 | - * @return bool |
|
| 34 | - */ |
|
| 35 | - public function isDownForMaintenance(); |
|
| 30 | + /** |
|
| 31 | + * Determine if the application is currently down for maintenance. |
|
| 32 | + * |
|
| 33 | + * @return bool |
|
| 34 | + */ |
|
| 35 | + public function isDownForMaintenance(); |
|
| 36 | 36 | |
| 37 | - /** |
|
| 38 | - * Register all of the configured providers. |
|
| 39 | - * |
|
| 40 | - * @return void |
|
| 41 | - */ |
|
| 42 | - public function registerConfiguredProviders(); |
|
| 37 | + /** |
|
| 38 | + * Register all of the configured providers. |
|
| 39 | + * |
|
| 40 | + * @return void |
|
| 41 | + */ |
|
| 42 | + public function registerConfiguredProviders(); |
|
| 43 | 43 | |
| 44 | - /** |
|
| 45 | - * Register a service provider with the application. |
|
| 46 | - * |
|
| 47 | - * @param \Illuminate\Support\ServiceProvider|string $provider |
|
| 48 | - * @param array $options |
|
| 49 | - * @param bool $force |
|
| 50 | - * @return \Illuminate\Support\ServiceProvider |
|
| 51 | - */ |
|
| 52 | - public function register($provider, $options = [], $force = false); |
|
| 44 | + /** |
|
| 45 | + * Register a service provider with the application. |
|
| 46 | + * |
|
| 47 | + * @param \Illuminate\Support\ServiceProvider|string $provider |
|
| 48 | + * @param array $options |
|
| 49 | + * @param bool $force |
|
| 50 | + * @return \Illuminate\Support\ServiceProvider |
|
| 51 | + */ |
|
| 52 | + public function register($provider, $options = [], $force = false); |
|
| 53 | 53 | |
| 54 | - /** |
|
| 55 | - * Register a deferred provider and service. |
|
| 56 | - * |
|
| 57 | - * @param string $provider |
|
| 58 | - * @param string|null $service |
|
| 59 | - * @return void |
|
| 60 | - */ |
|
| 61 | - public function registerDeferredProvider($provider, $service = null); |
|
| 54 | + /** |
|
| 55 | + * Register a deferred provider and service. |
|
| 56 | + * |
|
| 57 | + * @param string $provider |
|
| 58 | + * @param string|null $service |
|
| 59 | + * @return void |
|
| 60 | + */ |
|
| 61 | + public function registerDeferredProvider($provider, $service = null); |
|
| 62 | 62 | |
| 63 | - /** |
|
| 64 | - * Boot the application's service providers. |
|
| 65 | - * |
|
| 66 | - * @return void |
|
| 67 | - */ |
|
| 68 | - public function boot(); |
|
| 63 | + /** |
|
| 64 | + * Boot the application's service providers. |
|
| 65 | + * |
|
| 66 | + * @return void |
|
| 67 | + */ |
|
| 68 | + public function boot(); |
|
| 69 | 69 | |
| 70 | - /** |
|
| 71 | - * Register a new boot listener. |
|
| 72 | - * |
|
| 73 | - * @param mixed $callback |
|
| 74 | - * @return void |
|
| 75 | - */ |
|
| 76 | - public function booting($callback); |
|
| 70 | + /** |
|
| 71 | + * Register a new boot listener. |
|
| 72 | + * |
|
| 73 | + * @param mixed $callback |
|
| 74 | + * @return void |
|
| 75 | + */ |
|
| 76 | + public function booting($callback); |
|
| 77 | 77 | |
| 78 | - /** |
|
| 79 | - * Register a new "booted" listener. |
|
| 80 | - * |
|
| 81 | - * @param mixed $callback |
|
| 82 | - * @return void |
|
| 83 | - */ |
|
| 84 | - public function booted($callback); |
|
| 78 | + /** |
|
| 79 | + * Register a new "booted" listener. |
|
| 80 | + * |
|
| 81 | + * @param mixed $callback |
|
| 82 | + * @return void |
|
| 83 | + */ |
|
| 84 | + public function booted($callback); |
|
| 85 | 85 | |
| 86 | - /** |
|
| 87 | - * Get the path to the cached services.php file. |
|
| 88 | - * |
|
| 89 | - * @return string |
|
| 90 | - */ |
|
| 91 | - public function getCachedServicesPath(); |
|
| 86 | + /** |
|
| 87 | + * Get the path to the cached services.php file. |
|
| 88 | + * |
|
| 89 | + * @return string |
|
| 90 | + */ |
|
| 91 | + public function getCachedServicesPath(); |
|
| 92 | 92 | } |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * @param bool $force |
| 50 | 50 | * @return \Illuminate\Support\ServiceProvider |
| 51 | 51 | */ |
| 52 | - public function register($provider, $options = [], $force = false); |
|
| 52 | + public function register( $provider, $options = [ ], $force = false ); |
|
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | 55 | * Register a deferred provider and service. |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * @param string|null $service |
| 59 | 59 | * @return void |
| 60 | 60 | */ |
| 61 | - public function registerDeferredProvider($provider, $service = null); |
|
| 61 | + public function registerDeferredProvider( $provider, $service = null ); |
|
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | 64 | * Boot the application's service providers. |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * @param mixed $callback |
| 74 | 74 | * @return void |
| 75 | 75 | */ |
| 76 | - public function booting($callback); |
|
| 76 | + public function booting( $callback ); |
|
| 77 | 77 | |
| 78 | 78 | /** |
| 79 | 79 | * Register a new "booted" listener. |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | * @param mixed $callback |
| 82 | 82 | * @return void |
| 83 | 83 | */ |
| 84 | - public function booted($callback); |
|
| 84 | + public function booted( $callback ); |
|
| 85 | 85 | |
| 86 | 86 | /** |
| 87 | 87 | * Get the path to the cached services.php file. |
@@ -4,10 +4,10 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface MessageProvider |
| 6 | 6 | { |
| 7 | - /** |
|
| 8 | - * Get the messages for the instance. |
|
| 9 | - * |
|
| 10 | - * @return \Illuminate\Contracts\Support\MessageBag |
|
| 11 | - */ |
|
| 12 | - public function getMessageBag(); |
|
| 7 | + /** |
|
| 8 | + * Get the messages for the instance. |
|
| 9 | + * |
|
| 10 | + * @return \Illuminate\Contracts\Support\MessageBag |
|
| 11 | + */ |
|
| 12 | + public function getMessageBag(); |
|
| 13 | 13 | } |
@@ -2,8 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Contracts\Support; |
| 4 | 4 | |
| 5 | -interface MessageProvider |
|
| 6 | -{ |
|
| 5 | +interface MessageProvider { |
|
| 7 | 6 | /** |
| 8 | 7 | * Get the messages for the instance. |
| 9 | 8 | * |
@@ -4,10 +4,10 @@ |
||
| 4 | 4 | |
| 5 | 5 | interface Arrayable |
| 6 | 6 | { |
| 7 | - /** |
|
| 8 | - * Get the instance as an array. |
|
| 9 | - * |
|
| 10 | - * @return array |
|
| 11 | - */ |
|
| 12 | - public function toArray(); |
|
| 7 | + /** |
|
| 8 | + * Get the instance as an array. |
|
| 9 | + * |
|
| 10 | + * @return array |
|
| 11 | + */ |
|
| 12 | + public function toArray(); |
|
| 13 | 13 | } |
@@ -2,8 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Contracts\Support; |
| 4 | 4 | |
| 5 | -interface Arrayable |
|
| 6 | -{ |
|
| 5 | +interface Arrayable { |
|
| 7 | 6 | /** |
| 8 | 7 | * Get the instance as an array. |
| 9 | 8 | * |
@@ -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 | } |
@@ -2,8 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Contracts\Support; |
| 4 | 4 | |
| 5 | -interface Htmlable |
|
| 6 | -{ |
|
| 5 | +interface Htmlable { |
|
| 7 | 6 | /** |
| 8 | 7 | * Get content as a string of HTML. |
| 9 | 8 | * |
@@ -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 | } |
@@ -2,8 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Contracts\Support; |
| 4 | 4 | |
| 5 | -interface Renderable |
|
| 6 | -{ |
|
| 5 | +interface Renderable { |
|
| 7 | 6 | /** |
| 8 | 7 | * Get the evaluated contents of the object. |
| 9 | 8 | * |
@@ -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 | } |
@@ -10,5 +10,5 @@ |
||
| 10 | 10 | * @param int $options |
| 11 | 11 | * @return string |
| 12 | 12 | */ |
| 13 | - public function toJson($options = 0); |
|
| 13 | + public function toJson( $options = 0 ); |
|
| 14 | 14 | } |
@@ -2,8 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Illuminate\Contracts\Support; |
| 4 | 4 | |
| 5 | -interface Jsonable |
|
| 6 | -{ |
|
| 5 | +interface Jsonable { |
|
| 7 | 6 | /** |
| 8 | 7 | * Convert the object to its JSON representation. |
| 9 | 8 | * |
@@ -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 | } |
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | * @param mixed $notification |
| 12 | 12 | * @return void |
| 13 | 13 | */ |
| 14 | - public function send($notifiables, $notification); |
|
| 14 | + public function send( $notifiables, $notification ); |
|
| 15 | 15 | |
| 16 | 16 | /** |
| 17 | 17 | * Send the given notification immediately. |
@@ -20,5 +20,5 @@ discard block |
||
| 20 | 20 | * @param mixed $notification |
| 21 | 21 | * @return void |
| 22 | 22 | */ |
| 23 | - public function sendNow($notifiables, $notification); |
|
| 23 | + public function sendNow( $notifiables, $notification ); |
|
| 24 | 24 | } |
@@ -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 | * |