@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace App\CLI; |
4 | 4 | |
5 | -use FFMVC\Helpers; |
|
6 | 5 | use App\{Traits, Controllers, Models, Mappers}; |
7 | 6 | |
8 | 7 | /** |
@@ -30,7 +30,7 @@ |
||
30 | 30 | * run cli.php '/index/running' in two different terminals |
31 | 31 | * @param \Base $f3 |
32 | 32 | * @param array $params |
33 | - * @return void |
|
33 | + * @return false|null |
|
34 | 34 | */ |
35 | 35 | public function running(\Base $f3, array $params = []) |
36 | 36 | { |
@@ -2,8 +2,8 @@ |
||
2 | 2 | |
3 | 3 | namespace App\Controllers\API; |
4 | 4 | |
5 | -use FFMVC\Helpers as Helpers; |
|
6 | 5 | use App\Models as Models; |
6 | +use FFMVC\Helpers as Helpers; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * API Controller Class. |
@@ -338,7 +338,7 @@ |
||
338 | 338 | * Validate the provided access token or get the bearer token from the incoming http request |
339 | 339 | * |
340 | 340 | * @param array $params optional params |
341 | - * @return boolean true/false on valid access credentials |
|
341 | + * @return null|boolean true/false on valid access credentials |
|
342 | 342 | */ |
343 | 343 | protected function validateAccess(array $params = []) |
344 | 344 | { |
@@ -16,6 +16,7 @@ |
||
16 | 16 | * setup database |
17 | 17 | * |
18 | 18 | * @param \Dice\Dice dependency injector |
19 | + * @param \Dice\Dice $dice |
|
19 | 20 | * @return void |
20 | 21 | */ |
21 | 22 | public static function database(&$dice) |