@@ -25,7 +25,7 @@ |
||
25 | 25 | { |
26 | 26 | $module = $this->getModuleModel($name); |
27 | 27 | |
28 | - $this->components->task("Refreshing Migration {$module->getName()} module", function () use ($module) { |
|
28 | + $this->components->task("Refreshing Migration {$module->getName()} module", function() use ($module) { |
|
29 | 29 | $this->call('module:migrate-reset', [ |
30 | 30 | 'module' => $module->getStudlyName(), |
31 | 31 | '--database' => $this->option('database'), |
@@ -61,7 +61,7 @@ |
||
61 | 61 | |
62 | 62 | $channelPath = GenerateConfigReader::read('channels'); |
63 | 63 | |
64 | - return $path . $channelPath->getPath() . '/' . $this->getFileName() . '.php'; |
|
64 | + return $path.$channelPath->getPath().'/'.$this->getFileName().'.php'; |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | /** |
@@ -69,7 +69,7 @@ |
||
69 | 69 | |
70 | 70 | $resourcePath = GenerateConfigReader::read('resource'); |
71 | 71 | |
72 | - return $path . $resourcePath->getPath() . '/' . $this->getFileName() . '.php'; |
|
72 | + return $path.$resourcePath->getPath().'/'.$this->getFileName().'.php'; |
|
73 | 73 | } |
74 | 74 | |
75 | 75 | /** |
@@ -78,7 +78,7 @@ |
||
78 | 78 | |
79 | 79 | $requestPath = GenerateConfigReader::read('request'); |
80 | 80 | |
81 | - return $path . $requestPath->getPath() . '/' . $this->getFileName() . '.php'; |
|
81 | + return $path.$requestPath->getPath().'/'.$this->getFileName().'.php'; |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -78,7 +78,7 @@ |
||
78 | 78 | |
79 | 79 | $middlewarePath = GenerateConfigReader::read('filter'); |
80 | 80 | |
81 | - return $path . $middlewarePath->getPath() . '/' . $this->getFileName() . '.php'; |
|
81 | + return $path.$middlewarePath->getPath().'/'.$this->getFileName().'.php'; |
|
82 | 82 | } |
83 | 83 | |
84 | 84 | /** |
@@ -74,7 +74,7 @@ |
||
74 | 74 | |
75 | 75 | $mailPath = GenerateConfigReader::read('emails'); |
76 | 76 | |
77 | - return $path . $mailPath->getPath() . '/' . $this->getFileName() . '.php'; |
|
77 | + return $path.$mailPath->getPath().'/'.$this->getFileName().'.php'; |
|
78 | 78 | } |
79 | 79 | |
80 | 80 | /** |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** @var Module $module */ |
77 | 77 | $module = $this->laravel['modules']->findOrFail($this->getModuleName()); |
78 | 78 | |
79 | - return (new Stub('/' . $stub . '.stub', [ |
|
79 | + return (new Stub('/'.$stub.'.stub', [ |
|
80 | 80 | 'NAMESPACE' => $this->getClassNamespace($module), |
81 | 81 | 'CLASS' => $this->getClass(), |
82 | 82 | 'LOWER_NAME' => $module->getLowerName(), |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | |
102 | 102 | $generatorPath = GenerateConfigReader::read('provider'); |
103 | 103 | |
104 | - return $path . $generatorPath->getPath() . '/' . $this->getFileName() . '.php'; |
|
104 | + return $path.$generatorPath->getPath().'/'.$this->getFileName().'.php'; |
|
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
@@ -87,7 +87,7 @@ |
||
87 | 87 | |
88 | 88 | $jobPath = GenerateConfigReader::read('jobs'); |
89 | 89 | |
90 | - return $path . $jobPath->getPath() . '/' . $this->getFileName() . '.php'; |
|
90 | + return $path.$jobPath->getPath().'/'.$this->getFileName().'.php'; |
|
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | |
117 | 117 | $generatorPath = GenerateConfigReader::read('migration'); |
118 | 118 | |
119 | - return $path . $generatorPath->getPath() . '/' . $this->getFileName() . '.php'; |
|
119 | + return $path.$generatorPath->getPath().'/'.$this->getFileName().'.php'; |
|
120 | 120 | } |
121 | 121 | |
122 | 122 | /** |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | */ |
125 | 125 | private function getFileName() |
126 | 126 | { |
127 | - return date('Y_m_d_His_') . $this->getSchemaName(); |
|
127 | + return date('Y_m_d_His_').$this->getSchemaName(); |
|
128 | 128 | } |
129 | 129 | |
130 | 130 | /** |