@@ -7,10 +7,10 @@ discard block |
||
| 7 | 7 | { |
| 8 | 8 | |
| 9 | 9 | /** |
| 10 | - * Indicates if loading of the provider is deferred. |
|
| 11 | - * |
|
| 12 | - * @var bool |
|
| 13 | - */ |
|
| 10 | + * Indicates if loading of the provider is deferred. |
|
| 11 | + * |
|
| 12 | + * @var bool |
|
| 13 | + */ |
|
| 14 | 14 | protected $defer = false; |
| 15 | 15 | |
| 16 | 16 | protected $rules = array( |
@@ -20,10 +20,10 @@ discard block |
||
| 20 | 20 | |
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | - * Bootstrap the application events. |
|
| 24 | - * |
|
| 25 | - * @return void |
|
| 26 | - */ |
|
| 23 | + * Bootstrap the application events. |
|
| 24 | + * |
|
| 25 | + * @return void |
|
| 26 | + */ |
|
| 27 | 27 | public function boot() |
| 28 | 28 | { |
| 29 | 29 | $this->loadTranslationsFrom(__DIR__.'/../lang', 'image-validator'); |
@@ -48,17 +48,17 @@ discard block |
||
| 48 | 48 | |
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | - * Get the list of new rules being added to the validator. |
|
| 52 | - * @return array |
|
| 53 | - */ |
|
| 51 | + * Get the list of new rules being added to the validator. |
|
| 52 | + * @return array |
|
| 53 | + */ |
|
| 54 | 54 | public function getRules() |
| 55 | 55 | { |
| 56 | 56 | return $this->rules; |
| 57 | 57 | } |
| 58 | 58 | |
| 59 | 59 | /** |
| 60 | - * Add new rules to the validator. |
|
| 61 | - */ |
|
| 60 | + * Add new rules to the validator. |
|
| 61 | + */ |
|
| 62 | 62 | protected function addNewRules() |
| 63 | 63 | { |
| 64 | 64 | foreach($this->getRules() as $rule) |
@@ -69,10 +69,10 @@ discard block |
||
| 69 | 69 | |
| 70 | 70 | |
| 71 | 71 | /** |
| 72 | - * Extend the validator with new rules. |
|
| 73 | - * @param string $rule |
|
| 74 | - * @return void |
|
| 75 | - */ |
|
| 72 | + * Extend the validator with new rules. |
|
| 73 | + * @param string $rule |
|
| 74 | + * @return void |
|
| 75 | + */ |
|
| 76 | 76 | protected function extendValidator($rule) |
| 77 | 77 | { |
| 78 | 78 | $method = studly_case($rule); |
@@ -83,20 +83,20 @@ discard block |
||
| 83 | 83 | |
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | - * Register the service provider. |
|
| 87 | - * |
|
| 88 | - * @return void |
|
| 89 | - */ |
|
| 86 | + * Register the service provider. |
|
| 87 | + * |
|
| 88 | + * @return void |
|
| 89 | + */ |
|
| 90 | 90 | public function register() |
| 91 | 91 | { |
| 92 | 92 | } |
| 93 | 93 | |
| 94 | 94 | |
| 95 | 95 | /** |
| 96 | - * Get the services provided by the provider. |
|
| 97 | - * |
|
| 98 | - * @return array |
|
| 99 | - */ |
|
| 96 | + * Get the services provided by the provider. |
|
| 97 | + * |
|
| 98 | + * @return array |
|
| 99 | + */ |
|
| 100 | 100 | public function provides() |
| 101 | 101 | { |
| 102 | 102 | return []; |