Completed
Push — master ( 6eb116...2497f3 )
by Nicolas
01:39
created
src/Support/Stub.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -71,9 +71,9 @@  discard block
 block discarded – undo
71 71
      */
72 72
     public function getPath()
73 73
     {
74
-        $path = static::getBasePath() . $this->path;
74
+        $path = static::getBasePath().$this->path;
75 75
 
76
-        return file_exists($path) ? $path : __DIR__ . '/../Commands/stubs' . $this->path;
76
+        return file_exists($path) ? $path : __DIR__.'/../Commands/stubs'.$this->path;
77 77
     }
78 78
 
79 79
     /**
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $contents = file_get_contents($this->getPath());
107 107
 
108 108
         foreach ($this->replaces as $search => $replace) {
109
-            $contents = str_replace('$' . strtoupper($search) . '$', $replace, $contents);
109
+            $contents = str_replace('$'.strtoupper($search).'$', $replace, $contents);
110 110
         }
111 111
 
112 112
         return $contents;
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
      */
133 133
     public function saveTo($path, $filename)
134 134
     {
135
-        return file_put_contents($path . '/' . $filename, $this->getContents());
135
+        return file_put_contents($path.'/'.$filename, $this->getContents());
136 136
     }
137 137
 
138 138
     /**
Please login to merge, or discard this patch.
src/ModulesServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     protected function registerNamespaces()
38 38
     {
39
-        $configPath = __DIR__ . '/../config/config.php';
39
+        $configPath = __DIR__.'/../config/config.php';
40 40
 
41 41
         $this->publishes([
42 42
             $configPath => config_path('modules.php'),
Please login to merge, or discard this patch.