Completed
Push — master ( 9d47fe...c150be )
by Edgard
27:49
created
src/DataReader.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * Returns a single column from the next row of a result set.
34 34
      * @param integer $columnIndex zero-based column index
35
-     * @return mixed the column of the current row, false if no more rows available
35
+     * @return string|false the column of the current row, false if no more rows available
36 36
      */
37 37
     public function readColumn($columnIndex)
38 38
     {
Please login to merge, or discard this patch.
src/QueryBuilder.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -146,7 +146,7 @@
 block discarded – undo
146 146
             $orderByStatment = $this->buildOrderBy($newOrderBy);
147 147
 
148 148
             $sql = str_replace(':order', $orderByStatment,$sql);
149
-        }else{
149
+        } else{
150 150
             $orderByStatment = $this->buildOrderBy($orderBy);
151 151
             if ($orderByStatment !== '') {
152 152
                 $sql .= $this->separator . $orderByStatment;
Please login to merge, or discard this patch.
src/Schema.php 2 patches
Braces   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -278,7 +278,7 @@  discard block
 block discarded – undo
278 278
             $command->bindValue(':schema', $this->db->defaultSchema);
279 279
             $command->bindValue(':table1', $table->name);
280 280
 
281
-        }else {
281
+        } else {
282 282
             if (isset($table->schemaName)) {
283 283
                 $command->bindValue(':schema', $table->schemaName);
284 284
             }
@@ -353,7 +353,7 @@  discard block
 block discarded – undo
353 353
         $command->bindValue(':table', $table->name);
354 354
         if($this->db->isISeries){
355 355
             $command->bindValue(':schema', $this->db->defaultSchema);
356
-        }else {
356
+        } else {
357 357
             if (isset($table->schemaName)) {
358 358
                 $command->bindValue(':schema', $table->schemaName);
359 359
             }
@@ -400,7 +400,7 @@  discard block
 block discarded – undo
400 400
                   AND qsys2.syscst.table_schema = :schema
401 401
                   ORDER BY qsys2.syskeycst.column_position
402 402
 SQL;
403
-        }else {
403
+        } else {
404 404
             $sql = <<<SQL
405 405
             SELECT
406 406
                 i.indname AS indexname,
@@ -424,7 +424,7 @@  discard block
 block discarded – undo
424 424
 
425 425
         if($this->db->isISeries){
426 426
             $command->bindValue(':schema', $this->db->defaultSchema);
427
-        }else{
427
+        } else{
428 428
             if (isset($table->schemaName)) {
429 429
                 $command->bindValue(':schema', $table->schemaName);
430 430
             }
@@ -459,7 +459,7 @@  discard block
 block discarded – undo
459 459
                   AND TABLE_SCHEMA = :schema
460 460
                 ORDER BY TABLE_NAME
461 461
 SQL;
462
-        }else {
462
+        } else {
463 463
 
464 464
             $sql = <<<SQL
465 465
             SELECT
Please login to merge, or discard this patch.
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -98,6 +98,7 @@  discard block
 block discarded – undo
98 98
 
99 99
     /**
100 100
      * @inheritdoc
101
+     * @param TableSchema $table
101 102
      */
102 103
     protected function resolveTableNames($table, $name)
103 104
     {
@@ -182,6 +183,7 @@  discard block
 block discarded – undo
182 183
 
183 184
     /**
184 185
      * @inheritdoc
186
+     * @param TableSchema $table
185 187
      */
186 188
     protected function findColumns($table)
187 189
     {
@@ -271,6 +273,7 @@  discard block
 block discarded – undo
271 273
 
272 274
     /**
273 275
      * @inheritdoc
276
+     * @param TableSchema $table
274 277
      */
275 278
     protected function findConstraints($table)
276 279
     {
@@ -862,6 +865,9 @@  discard block
 block discarded – undo
862 865
         return $result;
863 866
     }
864 867
 
868
+    /**
869
+     * @param boolean $multiple
870
+     */
865 871
     protected function normalizePdoRowKeyCase(array $row, $multiple)
866 872
     {
867 873
         if ($this->db->getSlavePdo()->getAttribute(\PDO::ATTR_CASE) === \PDO::CASE_LOWER) {
Please login to merge, or discard this patch.