@@ -90,7 +90,7 @@ discard block |
||
90 | 90 | * Get a specific data from json file by given the key. |
91 | 91 | * |
92 | 92 | * @param string $key |
93 | - * @param null $default |
|
93 | + * @param string $default |
|
94 | 94 | * |
95 | 95 | * @return mixed |
96 | 96 | */ |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | } |
189 | 189 | |
190 | 190 | /** |
191 | - * @return mixed|null |
|
191 | + * @return string |
|
192 | 192 | */ |
193 | 193 | public function getVersion() |
194 | 194 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Nwidart\Modules\Laravel; |
4 | 4 | |
5 | 5 | use Exception; |
6 | -use Illuminate\Container\Container; |
|
7 | 6 | use Illuminate\Filesystem\Filesystem; |
8 | 7 | use Nwidart\Modules\Contracts\RepositoryInterface; |
9 | 8 | use Nwidart\Modules\Entities\ModuleEntity; |
@@ -71,7 +71,7 @@ |
||
71 | 71 | /** |
72 | 72 | * Get module path for a specific module. |
73 | 73 | * |
74 | - * @param $name |
|
74 | + * @param string $name |
|
75 | 75 | * |
76 | 76 | * @return string |
77 | 77 | */ |