@@ -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 FFCMS\CLI; |
4 | 4 | |
5 | -use FFMVC\Helpers; |
|
6 | - |
|
7 | 5 | /** |
8 | 6 | * Index CLI Class. |
9 | 7 | * |
@@ -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 |
@@ -82,7 +82,7 @@ |
||
82 | 82 | * Get users list of apps |
83 | 83 | * |
84 | 84 | * @param string $uuid the user uuid |
85 | - * @return array $data new user data |
|
85 | + * @return \DB\SQL\Mapper[] $data new user data |
|
86 | 86 | */ |
87 | 87 | public function getUserApps($uuid) |
88 | 88 | { |
@@ -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 | /** |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | * Get the user mapper by email address |
89 | 89 | * |
90 | 90 | * @param string $email email address |
91 | - * @return FFCMS\Mappers\User |
|
91 | + * @return string |
|
92 | 92 | */ |
93 | 93 | public function &getUserByEmail(string $email) |
94 | 94 | { |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | * Fetch the users data, optionally only by specified keys |
103 | 103 | * |
104 | 104 | * @param string $uuid |
105 | - * @param array $keys |
|
105 | + * @param string[] $keys |
|
106 | 106 | * @return array $data |
107 | 107 | */ |
108 | 108 | public function getUserDetails(string $uuid, array $keys = []): array |
@@ -266,7 +266,7 @@ discard block |
||
266 | 266 | * $data['value'] is automatically encoded or serialized if array/object |
267 | 267 | * |
268 | 268 | * @param array $data existing data to update |
269 | - * @return array $data newly saved data |
|
269 | + * @return Users $data newly saved data |
|
270 | 270 | */ |
271 | 271 | public function saveKey(array $data = []) |
272 | 272 | { |
@@ -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 | /** |