@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types = 1); |
|
| 1 | +<?php declare(strict_types=1); |
|
| 2 | 2 | |
| 3 | 3 | namespace RamosHenrique\JsonSchemaValidator; |
| 4 | 4 | |
@@ -44,10 +44,10 @@ |
||
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | - * Make config publishment optional by merging the config from the package. |
|
| 48 | - * |
|
| 49 | - * @return void |
|
| 50 | - */ |
|
| 47 | + * Make config publishment optional by merging the config from the package. |
|
| 48 | + * |
|
| 49 | + * @return void |
|
| 50 | + */ |
|
| 51 | 51 | public function register() |
| 52 | 52 | { |
| 53 | 53 | $this->mergeConfigFrom( |
@@ -1,4 +1,4 @@ discard block |
||
| 1 | -<?php declare(strict_types = 1); |
|
| 1 | +<?php declare(strict_types=1); |
|
| 2 | 2 | |
| 3 | 3 | namespace RamosHenrique\JsonSchemaValidator; |
| 4 | 4 | |
@@ -14,12 +14,12 @@ discard block |
||
| 14 | 14 | { |
| 15 | 15 | $this->publishes( |
| 16 | 16 | [ |
| 17 | - __DIR__.'/../config/json_schema_validator.php' => config_path('json_schema_validator.php'), |
|
| 17 | + __DIR__ . '/../config/json_schema_validator.php' => config_path('json_schema_validator.php'), |
|
| 18 | 18 | ], |
| 19 | 19 | 'json_schema_validator' |
| 20 | 20 | ); |
| 21 | 21 | |
| 22 | - BaseValidator::extend('json_schema_validator', static function ($attribute, $value, $parameters, $validator) { |
|
| 22 | + BaseValidator::extend('json_schema_validator', static function($attribute, $value, $parameters, $validator) { |
|
| 23 | 23 | if (count($parameters) != 1) { |
| 24 | 24 | throw ValidationException::withMessages([ |
| 25 | 25 | 'json_schema_validator' => JsonSchemaValidatorException::INVALID_PARAMETERS_QUANTITY, |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | public function register() |
| 52 | 52 | { |
| 53 | 53 | $this->mergeConfigFrom( |
| 54 | - __DIR__.'/../config/json_schema_validator.php', |
|
| 54 | + __DIR__ . '/../config/json_schema_validator.php', |
|
| 55 | 55 | 'json_schema_validator' |
| 56 | 56 | ); |
| 57 | 57 | } |
@@ -1,4 +1,4 @@ |
||
| 1 | -<?php declare(strict_types = 1); |
|
| 1 | +<?php declare(strict_types=1); |
|
| 2 | 2 | |
| 3 | 3 | namespace RamosHenrique\JsonSchemaValidator; |
| 4 | 4 | |