@@ -24,7 +24,7 @@ |
||
24 | 24 | */ |
25 | 25 | public function toArray() |
26 | 26 | { |
27 | - return array_map(function ($value) { |
|
27 | + return array_map(function($value) { |
|
28 | 28 | if ($value instanceof Module) { |
29 | 29 | return $value->json()->getAttributes(); |
30 | 30 | } |
@@ -135,7 +135,7 @@ |
||
135 | 135 | $process->setTimeout($this->timeout); |
136 | 136 | |
137 | 137 | if ($this->console instanceof Command) { |
138 | - $process->run(function ($type, $line) { |
|
138 | + $process->run(function($type, $line) { |
|
139 | 139 | $this->console->line($line); |
140 | 140 | }); |
141 | 141 | } |
@@ -122,7 +122,7 @@ |
||
122 | 122 | return json_decode($this->getContents(), 1); |
123 | 123 | } |
124 | 124 | |
125 | - return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function () { |
|
125 | + return app('cache')->remember($this->getPath(), config('modules.cache.lifetime'), function() { |
|
126 | 126 | return json_decode($this->getContents(), 1); |
127 | 127 | }); |
128 | 128 | } |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
60 | - * @return mixed |
|
60 | + * @return string |
|
61 | 61 | */ |
62 | 62 | protected function getTemplateContents() |
63 | 63 | { |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @return mixed |
|
73 | + * @return string |
|
74 | 74 | */ |
75 | 75 | protected function getDestinationFilePath() |
76 | 76 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
60 | - * @return mixed |
|
60 | + * @return string |
|
61 | 61 | */ |
62 | 62 | protected function getTemplateContents() |
63 | 63 | { |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @return mixed |
|
73 | + * @return string |
|
74 | 74 | */ |
75 | 75 | protected function getDestinationFilePath() |
76 | 76 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
60 | - * @return mixed |
|
60 | + * @return string |
|
61 | 61 | */ |
62 | 62 | protected function getTemplateContents() |
63 | 63 | { |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @return mixed |
|
73 | + * @return string |
|
74 | 74 | */ |
75 | 75 | protected function getDestinationFilePath() |
76 | 76 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
60 | - * @return mixed |
|
60 | + * @return string |
|
61 | 61 | */ |
62 | 62 | protected function getTemplateContents() |
63 | 63 | { |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | } |
71 | 71 | |
72 | 72 | /** |
73 | - * @return mixed |
|
73 | + * @return string |
|
74 | 74 | */ |
75 | 75 | protected function getDestinationFilePath() |
76 | 76 | { |