@@ -279,7 +279,7 @@ |
||
279 | 279 | * |
280 | 280 | * Returns false if there was no error. |
281 | 281 | * |
282 | - * @return string|bool |
|
282 | + * @return string|false |
|
283 | 283 | */ |
284 | 284 | public function error() { |
285 | 285 | if ($error = $this->connection->error()) { |
@@ -301,7 +301,7 @@ discard block |
||
301 | 301 | * @param array|string $order [optional] |
302 | 302 | * @param int $limit [optional] |
303 | 303 | * @param int $offset [optional] |
304 | - * @return array |
|
304 | + * @return Record[] |
|
305 | 305 | */ |
306 | 306 | public static function all($filter = array(), $order = array(), $limit = null, $offset = 0) { |
307 | 307 | return static::generate(static::load($filter, $order, $limit, $offset)); |
@@ -335,7 +335,7 @@ discard block |
||
335 | 335 | * @param array|string $order [optional] |
336 | 336 | * @param int $limit [optional] |
337 | 337 | * @param int $offset [optional] |
338 | - * @return array |
|
338 | + * @return Record[] |
|
339 | 339 | */ |
340 | 340 | public static function search($query, $attributes = array(), $filter = array(), $order = array(), $limit = null, $offset = 0) { |
341 | 341 | $instance = new static; |