Completed
Push — master ( ffb751...b6a1f4 )
by Jared
02:13
created
src/Statement/SelectStatement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function addFields($fields)
28 28
     {
29 29
         if (!is_array($fields)) {
30
-            $fields = array_map(function ($f) {
30
+            $fields = array_map(function($f) {
31 31
                 return trim($f);
32 32
             }, explode(',', $fields));
33 33
         }
Please login to merge, or discard this patch.
src/Statement/FromStatement.php 2 patches
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
     public function addTable($tables)
59 59
     {
60 60
         if (!is_array($tables)) {
61
-            $tables = array_map(function ($t) {
61
+            $tables = array_map(function($t) {
62 62
                 return trim($t);
63 63
             }, explode(',', $tables));
64 64
         }
@@ -84,13 +84,13 @@  discard block
 block discarded – undo
84 84
     public function addJoin($tables, $on = null, $using = null, $type = 'JOIN')
85 85
     {
86 86
         if (!is_array($tables)) {
87
-            $tables = array_map(function ($t) {
87
+            $tables = array_map(function($t) {
88 88
                 return trim($t);
89 89
             }, explode(',', $tables));
90 90
         }
91 91
 
92 92
         if ($using !== null) {
93
-            $using = array_map(function ($column) {
93
+            $using = array_map(function($column) {
94 94
                 return trim($column);
95 95
             }, explode(',', $using));
96 96
         } else {
Please login to merge, or discard this patch.
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
      * - addTable('Table,Table2')
47 47
      * - addTable(['Table','Table2']).
48 48
      *
49
-     * @param string|array $tables
49
+     * @param string $tables
50 50
      *
51 51
      * @return self
52 52
      */
@@ -69,7 +69,7 @@  discard block
 block discarded – undo
69 69
      * - addJoin('Table,Table2')
70 70
      * - addJoin(['Table','Table2']).
71 71
      *
72
-     * @param string|array $tables table names
72
+     * @param string $tables table names
73 73
      * @param string       $on     ON condition
74 74
      * @param string       $using  USING columns
75 75
      * @param string       $type   join type, i.e. OUTER JOIN, CROSS JOIN
Please login to merge, or discard this patch.
src/Statement/OrderStatement.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function addFields($fields)
28 28
     {
29 29
         if (!is_array($fields)) {
30
-            $fields = array_map(function ($f) {
30
+            $fields = array_map(function($f) {
31 31
                 return trim($f);
32 32
             }, explode(',', $fields));
33 33
         }
Please login to merge, or discard this patch.
src/Query/DeleteQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@
 block discarded – undo
111 111
     /**
112 112
      * Gets the order by statement for the query.
113 113
      *
114
-     * @return OrderByStatement
114
+     * @return OrderStatement
115 115
      */
116 116
     public function getOrderBy()
117 117
     {
Please login to merge, or discard this patch.
src/Query/SelectQuery.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -229,7 +229,7 @@  discard block
 block discarded – undo
229 229
     /**
230 230
      * Gets the group by statement for the query.
231 231
      *
232
-     * @return GroupByStatement
232
+     * @return OrderStatement
233 233
      */
234 234
     public function getGroupBy()
235 235
     {
@@ -249,7 +249,7 @@  discard block
 block discarded – undo
249 249
     /**
250 250
      * Gets the order by statement for the query.
251 251
      *
252
-     * @return OrderByStatement
252
+     * @return OrderStatement
253 253
      */
254 254
     public function getOrderBy()
255 255
     {
Please login to merge, or discard this patch.
src/Query/UpdateQuery.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
     /**
123 123
      * Gets the values for the query.
124 124
      *
125
-     * @return array
125
+     * @return SetStatement
126 126
      */
127 127
     public function getSet()
128 128
     {
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     /**
133 133
      * Gets the order by statement for the query.
134 134
      *
135
-     * @return OrderByStatement
135
+     * @return OrderStatement
136 136
      */
137 137
     public function getOrderBy()
138 138
     {
Please login to merge, or discard this patch.