Completed
Push — master ( c28104...334f29 )
by Hong
06:55
created
src/Phossa2/Query/Traits/Clause/SetTrait.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -199,6 +199,11 @@
 block discarded – undo
199 199
     abstract protected function getType()/*# : string */;
200 200
     abstract protected function &getClause(/*# string */ $clauseName)/*# : array */;
201 201
     abstract protected function processValue($value, array $settings, /*# bool */ $between = false)/*# : string */;
202
+
203
+    /**
204
+     * @param string $prefix
205
+     * @param string $seperator
206
+     */
202 207
     abstract protected function joinClause(
203 208
         /*# : string */ $prefix,
204 209
         /*# : string */ $seperator,
Please login to merge, or discard this patch.
src/Phossa2/Query/Traits/Clause/ColTrait.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -95,6 +95,7 @@  discard block
 block discarded – undo
95 95
 
96 96
     /**
97 97
      * {@inheritDoc}
98
+     * @param string $template
98 99
      */
99 100
     public function colTpl(
100 101
         /*# string */ $template,
@@ -193,8 +194,20 @@  discard block
 block discarded – undo
193 194
     }
194 195
 
195 196
     abstract public function getBuilder()/*# : BuilderInterface */;
197
+
198
+    /**
199
+     * @param boolean $rawMode
200
+     */
196 201
     abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */;
202
+
203
+    /**
204
+     * @param string $clauseName
205
+     */
197 206
     abstract protected function &getClause(/*# string */ $clauseName)/*# : array */;
207
+
208
+    /**
209
+     * @param string $clauseName
210
+     */
198 211
     abstract protected function buildClause(
199 212
         /*# string */ $clauseName,
200 213
         /*# string */ $clausePrefix,
Please login to merge, or discard this patch.
src/Phossa2/Query/Traits/Clause/JoinTrait.php 1 patch
Doc Comments   +13 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      *
64 64
      * @param  string $joinType
65 65
      * @param  string|string[]|SelectStatementInterface $secondTable
66
-     * @param  string|string[]|ExpressionInterface $onClause
66
+     * @param  string $onClause
67 67
      * @param  string $firstTable
68 68
      * @param  bool $rawMode
69 69
      * @return $this
@@ -231,8 +231,16 @@  discard block
 block discarded – undo
231 231
     }
232 232
 
233 233
     abstract public function getBuilder()/*# : BuilderInterface */;
234
+
235
+    /**
236
+     * @param string $str
237
+     */
234 238
     abstract protected function quote(/*# string */ $str, array $settings)/*# : string */;
235 239
     abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */;
240
+
241
+    /**
242
+     * @param string $clauseName
243
+     */
236 244
     abstract protected function &getClause(/*# string */ $clauseName)/*# : array */;
237 245
     abstract protected function flatSettings(array $settings)/*# : array */;
238 246
     abstract protected function quoteItem(
@@ -241,6 +249,10 @@  discard block
 block discarded – undo
241 249
         /*# bool */ $rawMode = false
242 250
     )/*# : string */;
243 251
     abstract protected function quoteAlias($alias, array $settings)/*# : string */;
252
+
253
+    /**
254
+     * @param string $seperator
255
+     */
244 256
     abstract protected function joinClause(
245 257
         /*# : string */ $prefix,
246 258
         /*# : string */ $seperator,
Please login to merge, or discard this patch.