Completed
Push — master ( 20ce86...00401a )
by Chris
02:49
created
src/Darya/Database/Query/AbstractSqlTranslator.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -483,7 +483,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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]
Please login to merge, or discard this patch.
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -823,8 +823,9 @@
 block discarded – undo
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,
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.