@@ -21,7 +21,7 @@ |
||
| 21 | 21 | __DIR__ . '/../config/layer.php' => config_path('layer.php') |
| 22 | 22 | ], 'config'); |
| 23 | 23 | |
| 24 | - $this->app->bind('Aosmak\Laravel\Layer\Sdk\Services\LayerServiceInterface', function ($app) { |
|
| 24 | + $this->app->bind('Aosmak\Laravel\Layer\Sdk\Services\LayerServiceInterface', function($app) { |
|
| 25 | 25 | $service = $app->make('Aosmak\Laravel\Layer\Sdk\Services\LayerService'); |
| 26 | 26 | $service->setConfig($app['config']['layer']); |
| 27 | 27 | |
@@ -110,7 +110,7 @@ |
||
| 110 | 110 | { |
| 111 | 111 | if (strlen($contents) > 1) { |
| 112 | 112 | $contents = json_decode($contents, 1); |
| 113 | - return is_array($contents) ? $contents: []; |
|
| 113 | + return is_array($contents) ? $contents : []; |
|
| 114 | 114 | } |
| 115 | 115 | |
| 116 | 116 | return []; |