@@ -37,7 +37,7 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | public function map(Router $router) |
| 39 | 39 | { |
| 40 | - $router->group(['namespace' => $this->namespace], function ($router) { |
|
| 40 | + $router->group(['namespace' => $this->namespace], function($router) { |
|
| 41 | 41 | require app_path('Http/routes.php'); |
| 42 | 42 | }); |
| 43 | 43 | } |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | |
| 19 | 19 | public function getIpAttribute($ip) |
| 20 | 20 | { |
| 21 | - if (!empty($ip)){ |
|
| 21 | + if (!empty($ip)) { |
|
| 22 | 22 | return inet_ntop($ip); |
| 23 | 23 | } |
| 24 | 24 | } |