@@ -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,6 @@ |
||
2 | 2 | |
3 | 3 | namespace App\CLI; |
4 | 4 | |
5 | -use FFMVC\Helpers; |
|
6 | - |
|
7 | 5 | /** |
8 | 6 | * Index CLI Class. |
9 | 7 | * |
@@ -236,7 +236,7 @@ discard block |
||
236 | 236 | /** |
237 | 237 | * Set the RFC-compliant OAuth Error to return. |
238 | 238 | * |
239 | - * @param type $code of error code from RFC |
|
239 | + * @param string $code of error code from RFC |
|
240 | 240 | * @throws Models\APIServerException |
241 | 241 | * @return the OAuth error array |
242 | 242 | */ |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | * Validate the provided access token or get the bearer token from the incoming http request |
333 | 333 | * |
334 | 334 | * @param array $params optional params |
335 | - * @return boolean true/false on valid access credentials |
|
335 | + * @return null|boolean true/false on valid access credentials |
|
336 | 336 | */ |
337 | 337 | protected function validateAccess(array $params = []) |
338 | 338 | { |
@@ -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. |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace App\Controllers\API; |
4 | 4 | |
5 | -use FFMVC\Helpers as Helpers; |
|
6 | - |
|
7 | 5 | /** |
8 | 6 | * API Test Controller Class. |
9 | 7 | * |
@@ -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) |