Completed
Pull Request — 1.1 (#14)
by David
08:41
created
src/Mouf/Database/QueryWriter/Condition/ParamAvailableCondition.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @param string $caller
28 27
      */
29 28
     public function isOk($parameters = null)
30 29
     {
Please login to merge, or discard this patch.
src/Mouf/Database/QueryWriter/Condition/ParamEqualsCondition.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,6 @@
 block discarded – undo
29 29
     }
30 30
 
31 31
     /**
32
-     * @param string $caller
33 32
      */
34 33
     public function isOk($parameters = null)
35 34
     {
Please login to merge, or discard this patch.
src/Mouf/Database/QueryWriter/Condition/ParamNotAvailableCondition.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@
 block discarded – undo
24 24
     }
25 25
 
26 26
     /**
27
-     * @param string $caller
28 27
      */
29 28
     public function isOk($parameters = null)
30 29
     {
Please login to merge, or discard this patch.
src/SQLParser/Node/AbstractManyInstancesOperator.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      *
59 59
      * @param Connection $dbConnection
60 60
      * @param array      $parameters
61
-     * @param number     $indent
61
+     * @param integer     $indent
62 62
      * @param int        $conditionsMode
63 63
      *
64 64
      * @return string
Please login to merge, or discard this patch.
src/SQLParser/Node/Expression.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -174,7 +174,7 @@
 block discarded – undo
174 174
      *
175 175
      * @param Connection $dbConnection
176 176
      * @param array      $parameters
177
-     * @param number     $indent
177
+     * @param integer     $indent
178 178
      * @param int        $conditionsMode
179 179
      *
180 180
      * @return string
Please login to merge, or discard this patch.
src/SQLParser/Node/NodeFactory.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -635,6 +635,9 @@  discard block
 block discarded – undo
635 635
         });
636 636
     }
637 637
 
638
+    /**
639
+     * @param \Closure $callback
640
+     */
638 641
     private static function array_map_deep($array, $callback)
639 642
     {
640 643
         $new = array();
@@ -661,7 +664,7 @@  discard block
 block discarded – undo
661 664
      * @param array       $parameters
662 665
      * @param string      $delimiter
663 666
      * @param bool|string $wrapInBrackets
664
-     * @param int|number  $indent
667
+     * @param integer  $indent
665 668
      * @param int         $conditionsMode
666 669
      *
667 670
      * @return null|string
Please login to merge, or discard this patch.
src/SQLParser/Node/SubQuery.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -181,7 +181,7 @@
 block discarded – undo
181 181
      *
182 182
      * @param Connection $dbConnection
183 183
      * @param array $parameters
184
-     * @param number $indent
184
+     * @param integer $indent
185 185
      * @param int $conditionsMode
186 186
      *
187 187
      * @return string
Please login to merge, or discard this patch.
src/SQLParser/OracleSQLTranslator.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -57,6 +57,9 @@  discard block
 block discarded – undo
57 57
         $this->allTables = array();
58 58
     }
59 59
 
60
+    /**
61
+     * @param string $txt
62
+     */
60 63
     public static function dbgprint($txt)
61 64
     {
62 65
         if (isset($_ENV['DEBUG'])) {
@@ -95,6 +98,9 @@  discard block
 block discarded – undo
95 98
         return 'DELETE';
96 99
     }
97 100
 
101
+    /**
102
+     * @param string $column
103
+     */
98 104
     public static function getColumnNameFor($column)
99 105
     {
100 106
         if (strtolower($column) === 'uid') {
@@ -198,6 +204,10 @@  discard block
 block discarded – undo
198 204
         return ($res >= 1);
199 205
     }
200 206
 
207
+    /**
208
+     * @param string $table
209
+     * @param string $column
210
+     */
201 211
     protected function isCLOBColumn($table, $column)
202 212
     {
203 213
         $tables = end($this->allTables);
@@ -314,6 +324,9 @@  discard block
 block discarded – undo
314 324
         return 'SELECT '.$sql;
315 325
     }
316 326
 
327
+    /**
328
+     * @param string $sql
329
+     */
317 330
     private function correctColRefStatement($sql)
318 331
     {
319 332
         $alias = '';
Please login to merge, or discard this patch.
src/SQLParser/PHPSQLLexer.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -237,6 +237,10 @@
 block discarded – undo
237 237
 
238 238
     # backticks are not balanced within one token, so we have
239 239
     # to re-combine some tokens
240
+
241
+    /**
242
+     * @param integer $idx
243
+     */
240 244
     private function balanceCharacter($tokens, $idx, $char)
241 245
     {
242 246
         $token_count = count($tokens);
Please login to merge, or discard this patch.