Completed
Pull Request — master (#9)
by Tristan
03:59 queued 01:53
created
src/Commands/HiveGeneratorCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
         $name = str_replace($this->laravel->getNamespace(), '', $name);
15 15
 
16 16
         // Add the class type to the file name.
17
-        return $this->laravel['path'].'/'.str_replace('\\', '/', $name).$this->type.'.php';
17
+        return $this->laravel['path'] . '/' . str_replace('\\', '/', $name) . $this->type . '.php';
18 18
     }
19 19
 
20 20
     protected function getStub()
Please login to merge, or discard this patch.
src/Commands/AssembleCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
         $this->call('hive:instance', ['name' => $name, '-e' => 'bar', '-m' => 'bar']);
19 19
         $this->call('hive:factory', ['name' => $name, '-i' => 'bar']);
20 20
         $this->call('hive:repo', ['name' => $name, '-o' => 'bar']);
21
-        $this->call('hive:mutator', ['name' => $name.'Request', '-r' => 'bar']);
21
+        $this->call('hive:mutator', ['name' => $name . 'Request', '-r' => 'bar']);
22 22
         $this->call('hive:controller', ['name' => $name]);
23 23
     }
24 24
 
Please login to merge, or discard this patch.
src/Commands/MakeInstanceCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -53,9 +53,9 @@
 block discarded – undo
53 53
     protected function getStub()
54 54
     {
55 55
         if ($this->option('eloquent')) {
56
-            return __DIR__.'/stubs/instance-eloquent.stub';
56
+            return __DIR__ . '/stubs/instance-eloquent.stub';
57 57
         } else {
58
-            return __DIR__.'/stubs/instance-no-eloquent.stub';
58
+            return __DIR__ . '/stubs/instance-no-eloquent.stub';
59 59
         }
60 60
     }
61 61
 
Please login to merge, or discard this patch.
src/Commands/MakeValidatorCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function getStub()
44 44
     {
45
-        return __DIR__.'/stubs/validator.stub';
45
+        return __DIR__ . '/stubs/validator.stub';
46 46
     }
47 47
 
48 48
     /**
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     protected function getDefaultNamespace($rootNamespace)
56 56
     {
57
-        return $rootNamespace.'\Lib\Data';
57
+        return $rootNamespace . '\Lib\Data';
58 58
     }
59 59
 
60 60
     /**
Please login to merge, or discard this patch.
src/Commands/MakeRepoCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -45,9 +45,9 @@  discard block
 block discarded – undo
45 45
     protected function getStub()
46 46
     {
47 47
         if ($this->option('observatory')) {
48
-            return __DIR__.'/stubs/repo-observatory.stub';
48
+            return __DIR__ . '/stubs/repo-observatory.stub';
49 49
         } else {
50
-            return __DIR__.'/stubs/repo-no-observatory.stub';
50
+            return __DIR__ . '/stubs/repo-no-observatory.stub';
51 51
         }
52 52
     }
53 53
 
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      */
61 61
     protected function getDefaultNamespace($rootNamespace)
62 62
     {
63
-        return $rootNamespace.'\Lib\Repos';
63
+        return $rootNamespace . '\Lib\Repos';
64 64
     }
65 65
 
66 66
     /**
Please login to merge, or discard this patch.
src/Commands/MakeHandlerCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     protected function getStub()
44 44
     {
45
-        return __DIR__.'/stubs/handler.stub';
45
+        return __DIR__ . '/stubs/handler.stub';
46 46
     }
47 47
 
48 48
     /**
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     protected function getDefaultNamespace($rootNamespace)
56 56
     {
57
-        return $rootNamespace.'\Lib\Commands\Handlers';
57
+        return $rootNamespace . '\Lib\Commands\Handlers';
58 58
     }
59 59
 
60 60
     /**
Please login to merge, or discard this patch.
src/Commands/MakeCommandCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     protected function getStub()
43 43
     {
44
-        return __DIR__.'/stubs/command.stub';
44
+        return __DIR__ . '/stubs/command.stub';
45 45
     }
46 46
 
47 47
     /**
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     protected function getDefaultNamespace($rootNamespace)
55 55
     {
56
-        return $rootNamespace.'\Lib\Commands';
56
+        return $rootNamespace . '\Lib\Commands';
57 57
     }
58 58
 
59 59
     /**
Please login to merge, or discard this patch.
src/Commands/MakeFactoryCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -42,9 +42,9 @@  discard block
 block discarded – undo
42 42
     protected function getStub()
43 43
     {
44 44
         if ($this->option('validator')) {
45
-            return __DIR__.'/stubs/factory-validator.stub';
45
+            return __DIR__ . '/stubs/factory-validator.stub';
46 46
         } else {
47
-            return __DIR__.'/stubs/factory-no-validator.stub';
47
+            return __DIR__ . '/stubs/factory-no-validator.stub';
48 48
         }
49 49
     }
50 50
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     protected function getDefaultNamespace($rootNamespace)
59 59
     {
60
-        return $rootNamespace.'\Lib\Factories';
60
+        return $rootNamespace . '\Lib\Factories';
61 61
     }
62 62
 
63 63
     /**
Please login to merge, or discard this patch.
src/Commands/MakeControllerCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     protected function getStub()
46 46
     {
47
-        return __DIR__.'/stubs/controller.stub';
47
+        return __DIR__ . '/stubs/controller.stub';
48 48
     }
49 49
 
50 50
     /**
@@ -57,10 +57,10 @@  discard block
 block discarded – undo
57 57
     protected function getDefaultNamespace($rootNamespace)
58 58
     {
59 59
         if ($this->option('subfolder')) {
60
-            return $rootNamespace.'\Http\Controllers\\'.$this->option('subfolder');
60
+            return $rootNamespace . '\Http\Controllers\\' . $this->option('subfolder');
61 61
         }
62 62
 
63
-        return $rootNamespace.'\Http\Controllers';
63
+        return $rootNamespace . '\Http\Controllers';
64 64
     }
65 65
 
66 66
     /**
Please login to merge, or discard this patch.