@@ -536,7 +536,7 @@ discard block |
||
536 | 536 | /** |
537 | 537 | * Prepare table joins. |
538 | 538 | * |
539 | - * @param array $joins |
|
539 | + * @param Join[] $joins |
|
540 | 540 | * @return string |
541 | 541 | */ |
542 | 542 | protected function prepareJoins(array $joins) |
@@ -726,7 +726,7 @@ discard block |
||
726 | 726 | * translateRead(). |
727 | 727 | * |
728 | 728 | * @param string $table |
729 | - * @param array|string $columns |
|
729 | + * @param string $columns |
|
730 | 730 | * @param string $joins [optional] |
731 | 731 | * @param string $where [optional] |
732 | 732 | * @param string $order [optional] |
@@ -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] |
@@ -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 | { |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * Retrieves the related models without matching them to their parents. |
17 | 17 | * |
18 | 18 | * @param array $instances |
19 | - * @return array |
|
19 | + * @return Record[] |
|
20 | 20 | */ |
21 | 21 | public function eagerLoad(array $instances) |
22 | 22 | { |
@@ -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 | { |
@@ -22,7 +22,7 @@ |
||
22 | 22 | public function register(Container $container) |
23 | 23 | { |
24 | 24 | $container->register(array( |
25 | - Router::class => function (Container $container) { |
|
25 | + Router::class => function(Container $container) { |
|
26 | 26 | /** |
27 | 27 | * @var Configuration $config |
28 | 28 | */ |