@@ -17,7 +17,7 @@ |
||
17 | 17 | * Retrieves the related models without matching them to their parents. |
18 | 18 | * |
19 | 19 | * @param array $instances |
20 | - * @return array |
|
20 | + * @return Record[] |
|
21 | 21 | */ |
22 | 22 | public function eagerLoad(array $instances) |
23 | 23 | { |
@@ -53,7 +53,7 @@ |
||
53 | 53 | * Instantiate a new join. |
54 | 54 | * |
55 | 55 | * @param string $type |
56 | - * @param string $to |
|
56 | + * @param string $resource |
|
57 | 57 | */ |
58 | 58 | public function __construct($type, $resource) |
59 | 59 | { |
@@ -60,7 +60,7 @@ |
||
60 | 60 | * Normalise the given path. |
61 | 61 | * |
62 | 62 | * @param string $path |
63 | - * @return path |
|
63 | + * @return string |
|
64 | 64 | */ |
65 | 65 | public static function normalise($path) |
66 | 66 | { |
@@ -531,7 +531,7 @@ discard block |
||
531 | 531 | /** |
532 | 532 | * Prepare table joins. |
533 | 533 | * |
534 | - * @param array $joins |
|
534 | + * @param Join[] $joins |
|
535 | 535 | * @return string |
536 | 536 | */ |
537 | 537 | protected function prepareJoins(array $joins) |
@@ -721,7 +721,7 @@ discard block |
||
721 | 721 | * translateRead(). |
722 | 722 | * |
723 | 723 | * @param string $table |
724 | - * @param array|string $columns |
|
724 | + * @param string $columns |
|
725 | 725 | * @param string $joins [optional] |
726 | 726 | * @param string $where [optional] |
727 | 727 | * @param string $order [optional] |
@@ -292,7 +292,7 @@ |
||
292 | 292 | * |
293 | 293 | * Returns false if there was no error. |
294 | 294 | * |
295 | - * @return string|bool |
|
295 | + * @return string|false |
|
296 | 296 | */ |
297 | 297 | public function error() |
298 | 298 | { |
@@ -68,7 +68,7 @@ |
||
68 | 68 | * options. |
69 | 69 | * |
70 | 70 | * @param string $table |
71 | - * @param array|string $columns |
|
71 | + * @param string $columns |
|
72 | 72 | * @param string $joins [optional] |
73 | 73 | * @param string $where [optional] |
74 | 74 | * @param string $order [optional] |