@@ -483,7 +483,7 @@ discard block |
||
| 483 | 483 | /** |
| 484 | 484 | * Prepare table joins. |
| 485 | 485 | * |
| 486 | - * @param array $joins |
|
| 486 | + * @param Join[] $joins |
|
| 487 | 487 | * @return string |
| 488 | 488 | */ |
| 489 | 489 | protected function prepareJoins(array $joins) { |
@@ -639,7 +639,7 @@ discard block |
||
| 639 | 639 | * translateRead(). |
| 640 | 640 | * |
| 641 | 641 | * @param string $table |
| 642 | - * @param array|string $columns |
|
| 642 | + * @param string $columns |
|
| 643 | 643 | * @param string $joins [optional] |
| 644 | 644 | * @param string $where [optional] |
| 645 | 645 | * @param string $order [optional] |
@@ -823,8 +823,9 @@ |
||
| 823 | 823 | |
| 824 | 824 | $joinParameters = array(); |
| 825 | 825 | |
| 826 | - if ($storageQuery instanceof Database\Storage\Query) |
|
| 827 | - $joinParameters = $this->joinParameters($storageQuery->joins); |
|
| 826 | + if ($storageQuery instanceof Database\Storage\Query) { |
|
| 827 | + $joinParameters = $this->joinParameters($storageQuery->joins); |
|
| 828 | + } |
|
| 828 | 829 | |
| 829 | 830 | $parameters = array_merge( |
| 830 | 831 | $parameters, |
@@ -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 | { |