Completed
Push — master ( d10bcc...5ab9f6 )
by Hong
02:33
created
src/Phossa2/Query/Traits/Clause/JoinTrait.php 1 patch
Doc Comments   +12 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
@@ -238,8 +238,15 @@  discard block
 block discarded – undo
238 238
         return $alias . '.';
239 239
     }
240 240
 
241
+    /**
242
+     * @param string $str
243
+     */
241 244
     abstract protected function quote(/*# string */ $str, array $settings)/*# : string */;
242 245
     abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */;
246
+
247
+    /**
248
+     * @param string $clauseName
249
+     */
243 250
     abstract protected function &getClause(/*# string */ $clauseName)/*# : array */;
244 251
     abstract protected function flatSettings(array $settings)/*# : array */;
245 252
     abstract protected function quoteItem(
@@ -248,6 +255,10 @@  discard block
 block discarded – undo
248 255
         /*# bool */ $rawMode = false
249 256
     )/*# : string */;
250 257
     abstract protected function quoteAlias($alias, array $settings)/*# : string */;
258
+
259
+    /**
260
+     * @param string $seperator
261
+     */
251 262
     abstract protected function joinClause(
252 263
         /*# : string */ $prefix,
253 264
         /*# : string */ $seperator,
Please login to merge, or discard this patch.
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   +12 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,
@@ -188,8 +189,19 @@  discard block
 block discarded – undo
188 189
         return $this->is_distinct ? ' DISTINCT' : $prefix;
189 190
     }
190 191
 
192
+    /**
193
+     * @param boolean $rawMode
194
+     */
191 195
     abstract protected function isRaw($str, /*# bool */ $rawMode)/*# : bool */;
196
+
197
+    /**
198
+     * @param string $clauseName
199
+     */
192 200
     abstract protected function &getClause(/*# string */ $clauseName)/*# : array */;
201
+
202
+    /**
203
+     * @param string $clauseName
204
+     */
193 205
     abstract protected function buildClause(
194 206
         /*# string */ $clauseName,
195 207
         /*# string */ $clausePrefix,
Please login to merge, or discard this patch.