@@ -12,7 +12,7 @@ discard block |
||
| 12 | 12 | * |
| 13 | 13 | * @param \Base $f3 |
| 14 | 14 | * @param array $params |
| 15 | - * @param \FFCMS\Models\Mapper $m |
|
| 15 | + * @param \FFCMS\Mappers\Mapper $m |
|
| 16 | 16 | * @return array |
| 17 | 17 | */ |
| 18 | 18 | protected function &getListingResults(\Base $f3, array $params, \FFCMS\Mappers\Mapper $m): array |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | * |
| 145 | 145 | * @param \Base $f3 |
| 146 | 146 | * @param array $params |
| 147 | - * @param \FFCMS\Models\Mapper $m |
|
| 147 | + * @param \FFCMS\Mappers\Mapper $m |
|
| 148 | 148 | * @return array $results |
| 149 | 149 | */ |
| 150 | 150 | protected function &getSearchResults(\Base $f3, array $params, \FFCMS\Mappers\Mapper $m): array |
@@ -2,8 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace FFCMS\Mappers; |
| 4 | 4 | |
| 5 | -use FFMVC\Helpers; |
|
| 6 | 5 | use FFCMS\Traits; |
| 6 | +use FFMVC\Helpers; |
|
| 7 | 7 | |
| 8 | 8 | /** |
| 9 | 9 | * Base Database Mapper Class extends f3's DB\SQL\Mapper |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace FFCMS\Models; |
| 4 | 4 | |
| 5 | -use FFMVC\Helpers; |
|
| 6 | 5 | use FFCMS\{Traits, Mappers}; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace FFCMS\Models; |
| 4 | 4 | |
| 5 | -use FFMVC\Helpers; |
|
| 6 | 5 | use FFCMS\{Traits, Mappers}; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace FFCMS\Models; |
| 4 | 4 | |
| 5 | -use FFMVC\Helpers; |
|
| 6 | 5 | use FFCMS\{Traits, Mappers}; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace FFCMS\Models; |
| 4 | 4 | |
| 5 | -use FFMVC\Helpers; |
|
| 6 | 5 | use FFCMS\{Traits, Mappers}; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace FFCMS\Models; |
| 4 | 4 | |
| 5 | -use FFMVC\Helpers; |
|
| 6 | 5 | use FFCMS\{Traits, Mappers}; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * @param \Base $f3 |
| 24 | 24 | * @param array $params |
| 25 | - * @param array $prohibitedFields |
|
| 25 | + * @param string[] $prohibitedFields |
|
| 26 | 26 | * @return void |
| 27 | 27 | */ |
| 28 | 28 | private function save(\Base $f3, array $params, array $prohibitedFields = []) |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace FFCMS\Models; |
| 4 | 4 | |
| 5 | -use FFMVC\Helpers; |
|
| 6 | 5 | use FFCMS\{Traits, Mappers}; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | * |
| 23 | 23 | * @param \Base $f3 |
| 24 | 24 | * @param array $params |
| 25 | - * @param array $prohibitedFields |
|
| 25 | + * @param string[] $prohibitedFields |
|
| 26 | 26 | * @return void |
| 27 | 27 | */ |
| 28 | 28 | private function save(\Base $f3, array $params, array $prohibitedFields = []) |