@@ -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 | /** |
@@ -46,8 +46,6 @@ discard block |
||
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | /** |
| 49 | - * @param \Base $f3 |
|
| 50 | - * @param array $params |
|
| 51 | 49 | * @return void |
| 52 | 50 | */ |
| 53 | 51 | public function beforeRoute() |
@@ -58,8 +56,6 @@ discard block |
||
| 58 | 56 | |
| 59 | 57 | |
| 60 | 58 | /** |
| 61 | - * @param \Base $f3 |
|
| 62 | - * @param array $params |
|
| 63 | 59 | * @return void |
| 64 | 60 | */ |
| 65 | 61 | public function afterRoute() |
@@ -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. |
@@ -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) |