Completed
Branch master (f97670)
by Tristan
02:10
created
console/Stubs/Manager.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function __construct(File $file_dispatch)
29 29
     {
30
-        $this->stubs_dir = __DIR__.'/';
30
+        $this->stubs_dir = __DIR__ . '/';
31 31
         $this->file_dispatch = $file_dispatch;
32 32
     }
33 33
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function get($stub)
43 43
     {
44
-        $file = $this->stubs_dir.$stub.'.stub';
44
+        $file = $this->stubs_dir . $stub . '.stub';
45 45
 
46 46
         if (false === $this->file_dispatch->exists($file)) {
47 47
             throw new InvalidArgumentException(
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     public function hydrate($contents, array $data)
65 65
     {
66 66
         foreach ($data as $key => $value) {
67
-            $contents = str_replace('%'.$key.'%', $value, $contents);
67
+            $contents = str_replace('%' . $key . '%', $value, $contents);
68 68
         }
69 69
 
70 70
         return $contents;
Please login to merge, or discard this patch.
console/Commands/BaseCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
 
159 159
         $class = $dont_affix_type === true
160 160
             ? $name
161
-            : $name.$uc_type;
161
+            : $name . $uc_type;
162 162
 
163 163
         if (true === $output->isVerbose()) {
164 164
             $output->writeln("<comment>    Namespace -> {$this->namespace}</comment>");
Please login to merge, or discard this patch.