@@ -27,7 +27,7 @@ |
||
| 27 | 27 | $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'doudian'); |
| 28 | 28 | |
| 29 | 29 | // Register the main class to use with the facade |
| 30 | - $this->app->singleton('doudian', function () { |
|
| 30 | + $this->app->singleton('doudian', function() { |
|
| 31 | 31 | $config = config('doudian'); |
| 32 | 32 | |
| 33 | 33 | return new DouDian($config); |
@@ -60,7 +60,7 @@ |
||
| 60 | 60 | public function __get($class) |
| 61 | 61 | { |
| 62 | 62 | $class = '\\Abbotton\\DouDian\\Api\\'.Str::ucfirst($class); |
| 63 | - if (! class_exists($class)) { |
|
| 63 | + if (!class_exists($class)) { |
|
| 64 | 64 | throw new Exception($class.', Not found', 404); |
| 65 | 65 | } |
| 66 | 66 | |