@@ -502,9 +502,9 @@ discard block |
||
| 502 | 502 | $mangledName = $this->nameMangler->getParameterName($parameter['parameter_name']); |
| 503 | 503 | |
| 504 | 504 | $parameters[] = ['php_name' => '$'.$mangledName, |
| 505 | - 'description' => $parameter['description'], |
|
| 506 | - 'php_type' => $parameter['php_type'], |
|
| 507 | - 'dtd_identifier' => $parameter['dtd_identifier']]; |
|
| 505 | + 'description' => $parameter['description'], |
|
| 506 | + 'php_type' => $parameter['php_type'], |
|
| 507 | + 'dtd_identifier' => $parameter['dtd_identifier']]; |
|
| 508 | 508 | } |
| 509 | 509 | |
| 510 | 510 | $this->enhancePhpDocBlockParameters($parameters); |
@@ -533,7 +533,7 @@ discard block |
||
| 533 | 533 | { |
| 534 | 534 | $line = array_shift($lines); |
| 535 | 535 | $this->codeStore->append(sprintf($format, '@param', $parameter['php_type'], $parameter['php_name'], $line), |
| 536 | - false); |
|
| 536 | + false); |
|
| 537 | 537 | foreach ($lines as $line) |
| 538 | 538 | { |
| 539 | 539 | $this->codeStore->append(sprintf($format, ' ', ' ', ' ', $line), false); |
@@ -542,7 +542,7 @@ discard block |
||
| 542 | 542 | else |
| 543 | 543 | { |
| 544 | 544 | $this->codeStore->append(sprintf($format, '@param', $parameter['php_type'], $parameter['php_name'], ''), |
| 545 | - false); |
|
| 545 | + false); |
|
| 546 | 546 | } |
| 547 | 547 | |
| 548 | 548 | if ($parameter['dtd_identifier']!==null) |
@@ -531,9 +531,9 @@ |
||
| 531 | 531 | private function extractParameters(): void |
| 532 | 532 | { |
| 533 | 533 | $this->routineParameters = new RoutineParametersHelper($this->dl, |
| 534 | - $this->io, |
|
| 535 | - $this->docBlockReflection, |
|
| 536 | - $this->routineName); |
|
| 534 | + $this->io, |
|
| 535 | + $this->docBlockReflection, |
|
| 536 | + $this->routineName); |
|
| 537 | 537 | |
| 538 | 538 | $this->routineParameters->extractRoutineParameters(); |
| 539 | 539 | } |
@@ -178,7 +178,7 @@ discard block |
||
| 178 | 178 | where TABLE_SCHEMA = %s |
| 179 | 179 | and TABLE_TYPE = 'BASE TABLE' |
| 180 | 180 | order by TABLE_NAME", |
| 181 | - $this->dl->quoteString($schemaName)); |
|
| 181 | + $this->dl->quoteString($schemaName)); |
|
| 182 | 182 | |
| 183 | 183 | return $this->executeRows($sql); |
| 184 | 184 | } |
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | from information_schema.TABLES |
| 217 | 217 | where table_schema = database() |
| 218 | 218 | and table_name = %s', |
| 219 | - $this->dl->quoteString($tableName)); |
|
| 219 | + $this->dl->quoteString($tableName)); |
|
| 220 | 220 | |
| 221 | 221 | return !empty($this->executeSingleton0($sql)); |
| 222 | 222 | } |
@@ -484,7 +484,7 @@ discard block |
||
| 484 | 484 | t2.PARAMETER_MODE is not null |
| 485 | 485 | where t1.ROUTINE_SCHEMA = database() |
| 486 | 486 | and t1.ROUTINE_NAME = '%s'", |
| 487 | - $routineName); |
|
| 487 | + $routineName); |
|
| 488 | 488 | |
| 489 | 489 | return $this->executeRows($sql); |
| 490 | 490 | } |
@@ -546,9 +546,9 @@ discard block |
||
| 546 | 546 | where TABLE_SCHEMA = ifnull(%s, database()) |
| 547 | 547 | and TABLE_NAME = %s |
| 548 | 548 | and COLUMN_NAME = %s', |
| 549 | - $this->dl->quoteString($schemaName), |
|
| 550 | - $this->dl->quoteString($tableName), |
|
| 551 | - $this->dl->quoteString($columnName)); |
|
| 549 | + $this->dl->quoteString($schemaName), |
|
| 550 | + $this->dl->quoteString($tableName), |
|
| 551 | + $this->dl->quoteString($columnName)); |
|
| 552 | 552 | |
| 553 | 553 | return $this->executeRow1($sql); |
| 554 | 554 | } |
@@ -577,8 +577,8 @@ discard block |
||
| 577 | 577 | where TABLE_SCHEMA = %s |
| 578 | 578 | and TABLE_NAME = %s |
| 579 | 579 | order by ORDINAL_POSITION', |
| 580 | - $this->dl->quoteString($schemaName), |
|
| 581 | - $this->dl->quoteString($tableName)); |
|
| 580 | + $this->dl->quoteString($schemaName), |
|
| 581 | + $this->dl->quoteString($tableName)); |
|
| 582 | 582 | |
| 583 | 583 | return $this->executeRows($sql); |
| 584 | 584 | } |
@@ -599,8 +599,8 @@ discard block |
||
| 599 | 599 | $sql = sprintf(' |
| 600 | 600 | show index from `%s`.`%s` |
| 601 | 601 | where Key_name = \'PRIMARY\'', |
| 602 | - $schemaName, |
|
| 603 | - $tableName); |
|
| 602 | + $schemaName, |
|
| 603 | + $tableName); |
|
| 604 | 604 | |
| 605 | 605 | return $this->executeRows($sql); |
| 606 | 606 | } |
@@ -621,8 +621,8 @@ discard block |
||
| 621 | 621 | $sql = sprintf(' |
| 622 | 622 | show index from `%s`.`%s` |
| 623 | 623 | where Non_unique = 0', |
| 624 | - $schemaName, |
|
| 625 | - $tableName); |
|
| 624 | + $schemaName, |
|
| 625 | + $tableName); |
|
| 626 | 626 | |
| 627 | 627 | return $this->executeRows($sql); |
| 628 | 628 | } |