@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Nwidart\Modules\Laravel; |
| 4 | 4 | |
| 5 | -use Nwidart\Modules\Json; |
|
| 6 | 5 | use Nwidart\Modules\Repository as BaseRepository; |
| 7 | 6 | |
| 8 | 7 | class Repository extends BaseRepository |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Nwidart\Modules\Lumen; |
| 4 | 4 | |
| 5 | -use Nwidart\Modules\Json; |
|
| 6 | 5 | use Nwidart\Modules\Repository as BaseRepository; |
| 7 | 6 | |
| 8 | 7 | class Repository extends BaseRepository |
@@ -115,7 +115,6 @@ discard block |
||
| 115 | 115 | /** |
| 116 | 116 | * Creates a new Module instance |
| 117 | 117 | * |
| 118 | - * @param Container $app |
|
| 119 | 118 | * @param $name |
| 120 | 119 | * @param $path |
| 121 | 120 | * @return \Nwidart\Modules\Module |
@@ -420,7 +419,7 @@ discard block |
||
| 420 | 419 | /** |
| 421 | 420 | * Get module path for a specific module. |
| 422 | 421 | * |
| 423 | - * @param $module |
|
| 422 | + * @param string $module |
|
| 424 | 423 | * |
| 425 | 424 | * @return string |
| 426 | 425 | */ |
@@ -448,9 +447,9 @@ discard block |
||
| 448 | 447 | /** |
| 449 | 448 | * Get a specific config data from a configuration file. |
| 450 | 449 | * |
| 451 | - * @param $key |
|
| 450 | + * @param string $key |
|
| 452 | 451 | * |
| 453 | - * @param null $default |
|
| 452 | + * @param string $default |
|
| 454 | 453 | * @return mixed |
| 455 | 454 | */ |
| 456 | 455 | public function config($key, $default = null) |
@@ -650,7 +649,7 @@ discard block |
||
| 650 | 649 | /** |
| 651 | 650 | * Get stub path. |
| 652 | 651 | * |
| 653 | - * @return string|null |
|
| 652 | + * @return string|boolean |
|
| 654 | 653 | */ |
| 655 | 654 | public function getStubPath() |
| 656 | 655 | { |