@@ -215,7 +215,7 @@ discard block |
||
215 | 215 | /** |
216 | 216 | * Execute the given storage query. |
217 | 217 | * |
218 | - * @param Query $storageQuery |
|
218 | + * @param StorageQuery $storageQuery |
|
219 | 219 | * @return DatabaseStorageResult |
220 | 220 | */ |
221 | 221 | public function execute(StorageQuery $storageQuery) { |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | * |
234 | 234 | * @param string $resource |
235 | 235 | * @param array|string $columns [optional] |
236 | - * @return Builder |
|
236 | + * @return QueryBuilder |
|
237 | 237 | */ |
238 | 238 | public function query($resource, $columns = array()) { |
239 | 239 | $query = new StorageQuery($resource, (array) $columns); |
@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | * |
281 | 281 | * Returns false if there was no error. |
282 | 282 | * |
283 | - * @return string|bool |
|
283 | + * @return string|false |
|
284 | 284 | */ |
285 | 285 | public function error() { |
286 | 286 | if ($error = $this->connection->error()) { |
@@ -115,7 +115,7 @@ |
||
115 | 115 | * |
116 | 116 | * Returns true if the model was successfully dissociated. |
117 | 117 | * |
118 | - * @return int |
|
118 | + * @return boolean |
|
119 | 119 | */ |
120 | 120 | public function dissociate() { |
121 | 121 | $associated = $this->retrieve(); |
@@ -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 | { |
@@ -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] |
@@ -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 | { |