@@ -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 | { |
@@ -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 | { |
@@ -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) |