@@ -56,7 +56,7 @@ |
||
56 | 56 | /** |
57 | 57 | * Get a FILE-param value |
58 | 58 | * |
59 | - * @return array|false : the array with file info or false if the param does not exist |
|
59 | + * @return string : the array with file info or false if the param does not exist |
|
60 | 60 | */ |
61 | 61 | |
62 | 62 | public static function file(string $name) { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * Invoker |
29 | 29 | * |
30 | - * @return true|string : true on success or an error code on failure |
|
30 | + * @return string|boolean : true on success or an error code on failure |
|
31 | 31 | */ |
32 | 32 | |
33 | 33 | public function __invoke(array $post) { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | /** |
28 | 28 | * Invoker |
29 | 29 | * |
30 | - * @return true|string : true on success or an error code on failure |
|
30 | + * @return string|boolean : true on success or an error code on failure |
|
31 | 31 | */ |
32 | 32 | |
33 | 33 | public function __invoke(array $post) { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | /** |
63 | 63 | * Update the entity dataset with a selected data. Also updates every entity object having an identical id |
64 | 64 | * |
65 | - * @return true : always true ;) |
|
65 | + * @return boolean : always true ;) |
|
66 | 66 | */ |
67 | 67 | |
68 | 68 | protected function setData(array $data) : bool { |
@@ -137,6 +137,7 @@ discard block |
||
137 | 137 | * Check whether another entity with a given unique param value exists. |
138 | 138 | * The method helps you to find out the possibility of changing the entity's unique param value to the given one |
139 | 139 | * |
140 | + * @param string $value |
|
140 | 141 | * @return int|false : the number of entities found (0 or 1) or false on error |
141 | 142 | */ |
142 | 143 |