@@ -62,7 +62,7 @@ |
||
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | 64 | * Return all the enabled modules |
| 65 | - * @return array |
|
| 65 | + * @return boolean |
|
| 66 | 66 | */ |
| 67 | 67 | public function enabled() |
| 68 | 68 | { |
@@ -11,7 +11,7 @@ |
||
| 11 | 11 | protected $namespace = 'Modules\Workshop\Http\Controllers'; |
| 12 | 12 | |
| 13 | 13 | /** |
| 14 | - * @return string |
|
| 14 | + * @return boolean |
|
| 15 | 15 | */ |
| 16 | 16 | protected function getFrontendRoute() |
| 17 | 17 | { |
@@ -19,6 +19,11 @@ |
||
| 19 | 19 | $this->finder->put($this->themePathForFile($this->options['name'], 'theme.json'), $stub); |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $stub |
|
| 24 | + * |
|
| 25 | + * @return string |
|
| 26 | + */ |
|
| 22 | 27 | public function replaceContentInStub($stub) |
| 23 | 28 | { |
| 24 | 29 | return str_replace( |
@@ -19,6 +19,11 @@ |
||
| 19 | 19 | $this->finder->put($this->themePathForFile($this->options['name'], 'theme.json'), $stub); |
| 20 | 20 | } |
| 21 | 21 | |
| 22 | + /** |
|
| 23 | + * @param string $stub |
|
| 24 | + * |
|
| 25 | + * @return string |
|
| 26 | + */ |
|
| 22 | 27 | public function replaceContentInStub($stub) |
| 23 | 28 | { |
| 24 | 29 | return str_replace( |