@@ -88,7 +88,7 @@ |
||
| 88 | 88 | /** |
| 89 | 89 | * Get module instance. |
| 90 | 90 | * |
| 91 | - * @return \Nwidart\Modules\Module |
|
| 91 | + * @return string |
|
| 92 | 92 | */ |
| 93 | 93 | public function getModule() |
| 94 | 94 | { |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | /** |
| 91 | 91 | * Get matches data from regex. |
| 92 | 92 | * |
| 93 | - * @return array |
|
| 93 | + * @return string[] |
|
| 94 | 94 | */ |
| 95 | 95 | public function getMatches() |
| 96 | 96 | { |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | /** |
| 69 | 69 | * @throws \InvalidArgumentException |
| 70 | 70 | * |
| 71 | - * @return mixed |
|
| 71 | + * @return MigrationMakeCommand |
|
| 72 | 72 | */ |
| 73 | 73 | protected function getTemplateContents() |
| 74 | 74 | { |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | } |
| 109 | 109 | |
| 110 | 110 | /** |
| 111 | - * @return mixed |
|
| 111 | + * @return string |
|
| 112 | 112 | */ |
| 113 | 113 | protected function getDestinationFilePath() |
| 114 | 114 | { |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | /** |
| 107 | 107 | * Set console command instance. |
| 108 | 108 | * |
| 109 | - * @param \Illuminate\Console\Command $console |
|
| 109 | + * @param \Nwidart\Modules\Commands\InstallCommand $console |
|
| 110 | 110 | * |
| 111 | 111 | * @return $this |
| 112 | 112 | */ |
@@ -103,7 +103,6 @@ discard block |
||
| 103 | 103 | /** |
| 104 | 104 | * Creates a new Module instance |
| 105 | 105 | * |
| 106 | - * @param Container $app |
|
| 107 | 106 | * @param $name |
| 108 | 107 | * @param $path |
| 109 | 108 | * @return \Nwidart\Modules\Module |
@@ -425,7 +424,7 @@ discard block |
||
| 425 | 424 | /** |
| 426 | 425 | * Get a specific config data from a configuration file. |
| 427 | 426 | * |
| 428 | - * @param $key |
|
| 427 | + * @param string $key |
|
| 429 | 428 | * |
| 430 | 429 | * @param null $default |
| 431 | 430 | * @return mixed |
@@ -614,7 +613,7 @@ discard block |
||
| 614 | 613 | /** |
| 615 | 614 | * Get stub path. |
| 616 | 615 | * |
| 617 | - * @return string|null |
|
| 616 | + * @return string|boolean |
|
| 618 | 617 | */ |
| 619 | 618 | public function getStubPath() |
| 620 | 619 | { |