Completed
Push — master ( 766562...9055a2 )
by Lars
03:30
created
src/voku/db/ActiveRecord.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -816,7 +816,7 @@  discard block
 block discarded – undo
816 816
   /**
817 817
    * Helper function to build SQL with sql parts.
818 818
    *
819
-   * @param array $sqls <p>The SQL part will be build.</p>
819
+   * @param string[] $sqls <p>The SQL part will be build.</p>
820 820
    *
821 821
    * @return string
822 822
    */
@@ -1057,7 +1057,7 @@  discard block
 block discarded – undo
1057 1057
    * Magic function to SET values of the current object.
1058 1058
    *
1059 1059
    * @param mixed $var
1060
-   * @param mixed $val
1060
+   * @param ActiveRecord $val
1061 1061
    */
1062 1062
   public function __set($var, $val)
1063 1063
   {
Please login to merge, or discard this patch.
src/voku/db/ActiveRecordExpressionsWrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@
 block discarded – undo
19 19
     $delimiter = (string)($this->delimiter ?: ',');
20 20
 
21 21
     if ($this->start) {
22
-      return $this->start . implode($delimiter, $this->target->getArray()) . ($this->end ?: ')');
22
+      return $this->start.implode($delimiter, $this->target->getArray()).($this->end ?: ')');
23 23
     }
24 24
 
25
-    return '(' . implode($delimiter, $this->target->getArray()) . ($this->end ? $this->end : ')');
25
+    return '('.implode($delimiter, $this->target->getArray()).($this->end ? $this->end : ')');
26 26
   }
27 27
 }
Please login to merge, or discard this patch.
src/voku/db/ActiveRecordExpressions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,6 +21,6 @@
 block discarded – undo
21 21
    */
22 22
   public function __toString()
23 23
   {
24
-    return $this->source . ' ' . $this->operator . ' ' . $this->target;
24
+    return $this->source.' '.$this->operator.' '.$this->target;
25 25
   }
26 26
 }
Please login to merge, or discard this patch.