Passed
Pull Request — master (#6)
by Artem
10:14 queued 07:18
created
src/Console/RepositoryInterfaceMakeCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,6 +56,6 @@
 block discarded – undo
56 56
      */
57 57
     protected function getStub()
58 58
     {
59
-        return __DIR__.'/stubs/repository-interface.stub';
59
+        return __DIR__ . '/stubs/repository-interface.stub';
60 60
     }
61 61
 }
Please login to merge, or discard this patch.
src/Console/RepositoryMakeCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
      */
96 96
     protected function getStub()
97 97
     {
98
-        return __DIR__.$this->stub;
98
+        return __DIR__ . $this->stub;
99 99
     }
100 100
 
101 101
     /**
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
         $name = str_replace('/', '\\', $name);
132 132
 
133 133
         return $this->qualifyClass(
134
-            $this->getInterfaceNamespace(trim($rootNamespace, '\\'),  $interfaceName).'\\'.$name
134
+            $this->getInterfaceNamespace(trim($rootNamespace, '\\'), $interfaceName) . '\\' . $name
135 135
         );
136 136
     }
137 137
 
Please login to merge, or discard this patch.
src/LaravelReposServiceProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -24,13 +24,13 @@  discard block
 block discarded – undo
24 24
         }
25 25
 
26 26
         $this->publishes([
27
-            __DIR__.'/config/repositories.php' => config_path('repositories.php'),
27
+            __DIR__ . '/config/repositories.php' => config_path('repositories.php'),
28 28
         ]);
29 29
     }
30 30
 
31 31
     public function register()
32 32
     {
33
-        $this->app->singleton(ContainerAwareResolver::class, function ($app) {
33
+        $this->app->singleton(ContainerAwareResolver::class, function($app) {
34 34
             return new ContainerAwareResolver($app);
35 35
         });
36 36
 
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             throw new \Exception('Invalid repository config');
41 41
         }
42 42
 
43
-        $this->app->singleton(RepositoryFactory::class, function ($app) {
43
+        $this->app->singleton(RepositoryFactory::class, function($app) {
44 44
             foreach (config('repositories.common.resolvers') as $resolverClass) {
45 45
                 $resolver = App::get($resolverClass);
46 46
 
Please login to merge, or discard this patch.