Passed
Push — main ( 27e66b...25b76e )
by Abbotton
12:06
created
src/DouDianServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/DouDian.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.