@@ -32,7 +32,7 @@ |
||
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 | { |
@@ -118,6 +118,7 @@ discard block |
||
118 | 118 | |
119 | 119 | /** |
120 | 120 | * @inheritdoc |
121 | + * @param string $name |
|
121 | 122 | */ |
122 | 123 | public function quoteSimpleColumnName($name) |
123 | 124 | { |
@@ -142,6 +143,8 @@ discard block |
||
142 | 143 | |
143 | 144 | /** |
144 | 145 | * @inheritdoc |
146 | + * @param TableSchema $table |
|
147 | + * @param string $name |
|
145 | 148 | */ |
146 | 149 | protected function resolveTableNames($table, $name) |
147 | 150 | { |
@@ -216,6 +219,7 @@ discard block |
||
216 | 219 | |
217 | 220 | /** |
218 | 221 | * @inheritdoc |
222 | + * @param TableSchema $table |
|
219 | 223 | */ |
220 | 224 | protected function findColumns($table) |
221 | 225 | { |
@@ -306,6 +310,7 @@ discard block |
||
306 | 310 | |
307 | 311 | /** |
308 | 312 | * @inheritdoc |
313 | + * @param TableSchema $table |
|
309 | 314 | */ |
310 | 315 | protected function findConstraints($table) |
311 | 316 | { |
@@ -278,7 +278,7 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
@@ -146,7 +146,7 @@ |
||
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; |