Completed
Pull Request — master (#143)
by Deven
03:58
created
src/Components/PartitionDefinition.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@
 block discarded – undo
194 194
     }
195 195
 
196 196
     /**
197
-     * @param PartitionDefinition|PartitionDefinition[] $component the component to be built
197
+     * @param PartitionDefinition[] $component the component to be built
198 198
      * @param array                                     $options   parameters for building
199 199
      *
200 200
      * @return string
Please login to merge, or discard this patch.
src/Utils/Query.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -499,7 +499,7 @@
 block discarded – undo
499 499
      * @param Statement  $statement the parsed query that has to be modified
500 500
      * @param TokensList $list      the list of tokens
501 501
      * @param string     $clause    the clause to be returned
502
-     * @param int|string $type      The type of the search.
502
+     * @param integer $type      The type of the search.
503 503
      *                              If int,
504 504
      *                              -1 for everything that was before
505 505
      *                              0 only for the clause
Please login to merge, or discard this patch.
src/Statements/LoadStatement.php 3 patches
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -346,6 +346,11 @@
 block discarded – undo
346 346
     }
347 347
 
348 348
 
349
+    /**
350
+     * @param Parser $parser
351
+     * @param TokensList $list
352
+     * @param integer $state
353
+     */
349 354
     public function parseKeywordsAccordingToState($parser, $list, $state) {
350 355
         $token = $list->tokens[$list->idx];
351 356
 
Please login to merge, or discard this patch.
Unused Use Statements   -6 removed lines patch added patch discarded remove patch
@@ -7,14 +7,8 @@
 block discarded – undo
7 7
 namespace PhpMyAdmin\SqlParser\Statements;
8 8
 
9 9
 use PhpMyAdmin\SqlParser\Components\ArrayObj;
10
-use PhpMyAdmin\SqlParser\Components\Condition;
11 10
 use PhpMyAdmin\SqlParser\Components\Expression;
12 11
 use PhpMyAdmin\SqlParser\Components\ExpressionArray;
13
-use PhpMyAdmin\SqlParser\Components\FunctionCall;
14
-use PhpMyAdmin\SqlParser\Components\IntoKeyword;
15
-use PhpMyAdmin\SqlParser\Components\JoinKeyword;
16
-use PhpMyAdmin\SqlParser\Components\Limit;
17
-use PhpMyAdmin\SqlParser\Components\OrderKeyword;
18 12
 use PhpMyAdmin\SqlParser\Components\OptionsArray;
19 13
 use PhpMyAdmin\SqlParser\Components\SetOperation;
20 14
 use PhpMyAdmin\SqlParser\Parser;
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -233,10 +233,10 @@
 block discarded – undo
233 233
         ++$list->idx;
234 234
 
235 235
                 /**
236
-         * The state of the parser.
237
-         *
238
-         * @var int
239
-         */
236
+                 * The state of the parser.
237
+                 *
238
+                 * @var int
239
+                 */
240 240
         $state = 0;
241 241
 
242 242
         for (; $list->idx < $list->count; ++$list->idx) {
Please login to merge, or discard this patch.