@@ -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 | * This method is useful to find out is it possible to change 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 |
@@ -183,7 +183,7 @@ discard block |
||
183 | 183 | /** |
184 | 184 | * Get the entity creation time |
185 | 185 | * |
186 | - * @return int|false : the time or false on failure |
|
186 | + * @return null|integer : the time or false on failure |
|
187 | 187 | */ |
188 | 188 | |
189 | 189 | public function getCreated() { |
@@ -209,7 +209,7 @@ discard block |
||
209 | 209 | /** |
210 | 210 | * Get the entity modification time |
211 | 211 | * |
212 | - * @return int|false : the time or false on failure |
|
212 | + * @return null|integer : the time or false on failure |
|
213 | 213 | */ |
214 | 214 | |
215 | 215 | public function getModified() { |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | /** |
236 | 236 | * Get the entity size |
237 | 237 | * |
238 | - * @return int|false : the size or false on failure |
|
238 | + * @return integer : the size or false on failure |
|
239 | 239 | */ |
240 | 240 | |
241 | 241 | public function getSize() { |
@@ -133,7 +133,7 @@ |
||
133 | 133 | /** |
134 | 134 | * Get the active item data or a specific param value |
135 | 135 | * |
136 | - * @return array|mixed|false : the data array, the param value, or false if the active item was not loaded |
|
136 | + * @return string : the data array, the param value, or false if the active item was not loaded |
|
137 | 137 | */ |
138 | 138 | |
139 | 139 | public function get(string $param = null) { |
@@ -60,7 +60,7 @@ |
||
60 | 60 | /** |
61 | 61 | * Save an uploaded file |
62 | 62 | * |
63 | - * @return true|string|false : true on success, an error code on failure, or false if there are no uploaded files |
|
63 | + * @return string|boolean : true on success, an error code on failure, or false if there are no uploaded files |
|
64 | 64 | */ |
65 | 65 | |
66 | 66 | public static function save(string $name, string $dir_name) { |