Completed
Push — master ( 5ca746...fdb513 )
by Chris
03:03
created
src/Darya/ORM/Record.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -284,7 +284,7 @@
 block discarded – undo
284 284
 	 * @param array|string     $order  [optional]
285 285
 	 * @param int              $limit  [optional]
286 286
 	 * @param int              $offset [optional]
287
-	 * @return array
287
+	 * @return string
288 288
 	 */
289 289
 	public static function all($filter = array(), $order = array(), $limit = null, $offset = 0) {
290 290
 		return static::generate(static::load($filter, $order, $limit, $offset));
Please login to merge, or discard this patch.
src/Darya/Database/Storage.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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()) {
Please login to merge, or discard this patch.
src/Darya/ORM/Relation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -472,7 +472,7 @@
 block discarded – undo
472 472
 	/**
473 473
 	 * Retrieve all related model instances.
474 474
 	 * 
475
-	 * @return Record[]|null
475
+	 * @return Record[]
476 476
 	 */
477 477
 	public function all() {
478 478
 		if (!$this->loaded()) {
Please login to merge, or discard this patch.
src/Darya/ORM/Relation/Has.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -115,7 +115,7 @@
 block discarded – undo
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();
Please login to merge, or discard this patch.
src/Darya/ORM/Relation/HasMany.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
src/Darya/Database/Storage/Query/Join.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@
 block discarded – undo
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
 	{
Please login to merge, or discard this patch.
src/Darya/Database/Query/AbstractSqlTranslator.php 1 patch
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -223,7 +223,6 @@  discard block
 block discarded – undo
223 223
 	 * 
224 224
 	 * Helper for handling the translation of query objects from query builders.
225 225
 	 * 
226
-	 * @param mixed $value
227 226
 	 * @return Database\Query
228 227
 	 */
229 228
 	protected function translateTranslatable($query) {
@@ -495,7 +494,7 @@  discard block
 block discarded – undo
495 494
 	/**
496 495
 	 * Prepare table joins.
497 496
 	 * 
498
-	 * @param array $joins
497
+	 * @param Join[] $joins
499 498
 	 * @return string
500 499
 	 */
501 500
 	protected function prepareJoins(array $joins) {
@@ -651,7 +650,7 @@  discard block
 block discarded – undo
651 650
 	 *       translateRead().
652 651
 	 * 
653 652
 	 * @param string       $table
654
-	 * @param array|string $columns
653
+	 * @param string $columns
655 654
 	 * @param string       $joins    [optional]
656 655
 	 * @param string       $where    [optional]
657 656
 	 * @param string       $order    [optional]
Please login to merge, or discard this patch.