@@ -153,7 +153,7 @@ |
||
| 153 | 153 | */ |
| 154 | 154 | public function attribute($key, $value) |
| 155 | 155 | { |
| 156 | - if (! in_array($key, $this->allowedAttributes)) { |
|
| 156 | + if (!in_array($key, $this->allowedAttributes)) { |
|
| 157 | 157 | throw new \InvalidArgumentException("Attribute [{$key}] does not exist."); |
| 158 | 158 | } |
| 159 | 159 | |
@@ -64,23 +64,23 @@ |
||
| 64 | 64 | */ |
| 65 | 65 | protected function registerMacros() |
| 66 | 66 | { |
| 67 | - Route::macro('allowFrom', function (string ...$countries) { |
|
| 67 | + Route::macro('allowFrom', function(string ...$countries) { |
|
| 68 | 68 | return new GeoRoute($this, $countries, 'allow'); |
| 69 | 69 | }); |
| 70 | 70 | |
| 71 | - Route::macro('denyFrom', function (string ...$countries) { |
|
| 71 | + Route::macro('denyFrom', function(string ...$countries) { |
|
| 72 | 72 | return new GeoRoute($this, $countries, 'deny'); |
| 73 | 73 | }); |
| 74 | 74 | |
| 75 | - Route::macro('from', function (string ...$countries) { |
|
| 75 | + Route::macro('from', function(string ...$countries) { |
|
| 76 | 76 | return new GeoRoute($this, $countries, 'allow'); |
| 77 | 77 | }); |
| 78 | 78 | |
| 79 | - Route::macro('geo', function (array $attributes, Closure $routes) { |
|
| 79 | + Route::macro('geo', function(array $attributes, Closure $routes) { |
|
| 80 | 80 | return new GeoGroup($attributes, $routes); |
| 81 | 81 | }); |
| 82 | 82 | |
| 83 | - Router::macro('geo', function (array $attributes, Closure $routes) { |
|
| 83 | + Router::macro('geo', function(array $attributes, Closure $routes) { |
|
| 84 | 84 | return new GeoGroup($attributes, $routes); |
| 85 | 85 | }); |
| 86 | 86 | } |