Completed
Push — master ( 38d909...e2a527 )
by Hong
05:34
created
src/Phossa2/Query/Traits/Clause/ColTrait.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -38,6 +38,7 @@  discard block
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * {@inheritDoc}
41
+     * @param string $col
41 42
      */
42 43
     public function col($col, /*# string */ $alias = '')
43 44
     {
@@ -95,6 +96,7 @@  discard block
 block discarded – undo
95 96
 
96 97
     /**
97 98
      * {@inheritDoc}
99
+     * @param string $template
98 100
      */
99 101
     public function colTpl(
100 102
         /*# string */ $template,
@@ -188,8 +190,19 @@  discard block
 block discarded – undo
188 190
         return $this->is_distinct ? ' DISTINCT' : $prefix;
189 191
     }
190 192
 
193
+    /**
194
+     * @param boolean $rawMode
195
+     */
191 196
     abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */;
197
+
198
+    /**
199
+     * @param string $clauseName
200
+     */
192 201
     abstract protected function &getClause(/*# string */ $clauseName)/*# : array */;
202
+
203
+    /**
204
+     * @param string $clauseName
205
+     */
193 206
     abstract protected function buildClause(
194 207
         /*# string */ $clauseName,
195 208
         /*# string */ $clausePrefix,
Please login to merge, or discard this patch.
src/Phossa2/Query/Traits/Clause/JoinTrait.php 1 patch
Doc Comments   +9 added lines, -1 removed lines patch added patch discarded remove patch
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
      *
68 68
      * @param  string $joinType
69 69
      * @param  string|string[]|SelectStatementInterface $secondTable
70
-     * @param  string|string[]|ExpressionInterface $onClause
70
+     * @param  string $onClause
71 71
      * @param  string $firstTable
72 72
      * @param  bool $rawMode
73 73
      * @return $this
@@ -240,6 +240,10 @@  discard block
 block discarded – undo
240 240
     }
241 241
 
242 242
     abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */;
243
+
244
+    /**
245
+     * @param string $clauseName
246
+     */
243 247
     abstract protected function &getClause(/*# string */ $clauseName)/*# : array */;
244 248
     abstract protected function flatSettings(array $settings)/*# : array */;
245 249
     abstract protected function quoteItem(
@@ -248,6 +252,10 @@  discard block
 block discarded – undo
248 252
         /*# bool */ $rawMode = false
249 253
     )/*# : string */;
250 254
     abstract protected function quoteAlias($alias, array $settings)/*# : string */;
255
+
256
+    /**
257
+     * @param string $seperator
258
+     */
251 259
     abstract protected function joinClause(
252 260
         /*# : string */ $prefix,
253 261
         /*# : string */ $seperator,
Please login to merge, or discard this patch.