@@ -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 | { |
@@ -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; |
@@ -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 |
@@ -96,6 +96,8 @@ discard block |
||
96 | 96 | |
97 | 97 | /** |
98 | 98 | * @inheritdoc |
99 | + * @param TableSchema $table |
|
100 | + * @param string $name |
|
99 | 101 | */ |
100 | 102 | protected function resolveTableNames($table, $name) |
101 | 103 | { |
@@ -170,6 +172,7 @@ discard block |
||
170 | 172 | |
171 | 173 | /** |
172 | 174 | * @inheritdoc |
175 | + * @param TableSchema $table |
|
173 | 176 | */ |
174 | 177 | protected function findColumns($table) |
175 | 178 | { |
@@ -260,6 +263,7 @@ discard block |
||
260 | 263 | |
261 | 264 | /** |
262 | 265 | * @inheritdoc |
266 | + * @param TableSchema $table |
|
263 | 267 | */ |
264 | 268 | protected function findConstraints($table) |
265 | 269 | { |