Completed
Push — master ( 4696bd...101870 )
by Konstantin
02:35
created
Util.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,12 +33,12 @@
 block discarded – undo
33 33
         // loop through the non-quoted parts (0, 3, 6, 9, etc.)
34 34
         for ($i = 0, $k = count($parts); $i <= $k; $i += 3) {
35 35
             // get the part as a reference so it can be modified in place
36
-            $part =& $parts[$i];
36
+            $part = & $parts[$i];
37 37
 
38 38
             // find all :placeholder matches in the part
39 39
             preg_match_all(
40 40
                 "/\W:([a-zA-Z_][a-zA-Z0-9_]*)/m",
41
-                $part . PHP_EOL,
41
+                $part.PHP_EOL,
42 42
                 $matches
43 43
             );
44 44
 
Please login to merge, or discard this patch.
QueryBuilder.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -69,6 +69,9 @@  discard block
 block discarded – undo
69 69
         return $this->conn->getEscaper();
70 70
     }
71 71
 
72
+    /**
73
+     * @param string $select
74
+     */
72 75
     public function select($select = null)
73 76
     {
74 77
         $this->type = self::TYPE_SELECT;
@@ -100,6 +103,9 @@  discard block
 block discarded – undo
100 103
         return $this->add('from', array('table' => $index));
101 104
     }
102 105
 
106
+    /**
107
+     * @param string $index
108
+     */
103 109
     public function replace($index)
104 110
     {
105 111
         $this->type = self::TYPE_REPLACE;
@@ -107,6 +113,9 @@  discard block
 block discarded – undo
107 113
         return $this->add('from', array('table' => $index));
108 114
     }
109 115
 
116
+    /**
117
+     * @param string $index
118
+     */
110 119
     public function delete($index)
111 120
     {
112 121
         $this->type = self::TYPE_DELETE;
@@ -129,6 +138,9 @@  discard block
 block discarded – undo
129 138
         return $this->add('values', $values, true);
130 139
     }
131 140
 
141
+    /**
142
+     * @param string $index
143
+     */
132 144
     public function from($index)
133 145
     {
134 146
         return $this->add('from', array('table' => $index));
@@ -139,6 +151,9 @@  discard block
 block discarded – undo
139 151
         return $this->add('from', array('table' => $index), true);
140 152
     }
141 153
 
154
+    /**
155
+     * @param string $where
156
+     */
142 157
     public function where($where)
143 158
     {
144 159
         return $this->add('where', $where);
Please login to merge, or discard this patch.