@@ -543,9 +543,9 @@ discard block |
||
| 543 | 543 | where TABLE_SCHEMA = ifnull(%s, database()) |
| 544 | 544 | and TABLE_NAME = %s |
| 545 | 545 | and COLUMN_NAME = %s', |
| 546 | - $this->dl->quoteString($schemaName), |
|
| 547 | - $this->dl->quoteString($tableName), |
|
| 548 | - $this->dl->quoteString($columnName)); |
|
| 546 | + $this->dl->quoteString($schemaName), |
|
| 547 | + $this->dl->quoteString($tableName), |
|
| 548 | + $this->dl->quoteString($columnName)); |
|
| 549 | 549 | |
| 550 | 550 | return $this->executeRow1($sql); |
| 551 | 551 | } |
@@ -574,8 +574,8 @@ discard block |
||
| 574 | 574 | where TABLE_SCHEMA = %s |
| 575 | 575 | and TABLE_NAME = %s |
| 576 | 576 | order by ORDINAL_POSITION', |
| 577 | - $this->dl->quoteString($schemaName), |
|
| 578 | - $this->dl->quoteString($tableName)); |
|
| 577 | + $this->dl->quoteString($schemaName), |
|
| 578 | + $this->dl->quoteString($tableName)); |
|
| 579 | 579 | |
| 580 | 580 | return $this->executeRows($sql); |
| 581 | 581 | } |
@@ -596,8 +596,8 @@ discard block |
||
| 596 | 596 | $sql = sprintf(' |
| 597 | 597 | show index from `%s`.`%s` |
| 598 | 598 | where Key_name = \'PRIMARY\'', |
| 599 | - $schemaName, |
|
| 600 | - $tableName); |
|
| 599 | + $schemaName, |
|
| 600 | + $tableName); |
|
| 601 | 601 | |
| 602 | 602 | return $this->executeRows($sql); |
| 603 | 603 | } |
@@ -618,8 +618,8 @@ discard block |
||
| 618 | 618 | $sql = sprintf(' |
| 619 | 619 | show index from `%s`.`%s` |
| 620 | 620 | where Non_unique = 0', |
| 621 | - $schemaName, |
|
| 622 | - $tableName); |
|
| 621 | + $schemaName, |
|
| 622 | + $tableName); |
|
| 623 | 623 | |
| 624 | 624 | return $this->executeRows($sql); |
| 625 | 625 | } |
@@ -483,9 +483,9 @@ |
||
| 483 | 483 | $mangledName = $this->nameMangler->getParameterName($parameter['parameter_name']); |
| 484 | 484 | |
| 485 | 485 | $parameters[] = ['php_name' => '$'.$mangledName, |
| 486 | - 'description' => $parameter['description'], |
|
| 487 | - 'php_type' => $parameter['php_type'], |
|
| 488 | - 'dtd_identifier' => $parameter['dtd_identifier']]; |
|
| 486 | + 'description' => $parameter['description'], |
|
| 487 | + 'php_type' => $parameter['php_type'], |
|
| 488 | + 'dtd_identifier' => $parameter['dtd_identifier']]; |
|
| 489 | 489 | } |
| 490 | 490 | |
| 491 | 491 | $this->enhancePhpDocBlockParameters($parameters); |
@@ -95,9 +95,9 @@ discard block |
||
| 95 | 95 | foreach ($this->parameters as $parameter) |
| 96 | 96 | { |
| 97 | 97 | $parameters[] = ['parameter_name' => $parameter['parameter_name'], |
| 98 | - 'php_type' => DataTypeHelper::columnTypeToPhpTypeHinting($parameter).'|null', |
|
| 99 | - 'dtd_identifier' => $parameter['dtd_identifier'], |
|
| 100 | - 'description' => $lookup[($parameter['parameter_name'])] ?? []]; |
|
| 98 | + 'php_type' => DataTypeHelper::columnTypeToPhpTypeHinting($parameter).'|null', |
|
| 99 | + 'dtd_identifier' => $parameter['dtd_identifier'], |
|
| 100 | + 'description' => $lookup[($parameter['parameter_name'])] ?? []]; |
|
| 101 | 101 | } |
| 102 | 102 | |
| 103 | 103 | return $parameters; |
@@ -201,8 +201,8 @@ discard block |
||
| 201 | 201 | if ($n!==1) |
| 202 | 202 | { |
| 203 | 203 | throw new RoutineLoaderException('Unable to parse data type description %s of parameter %s.', |
| 204 | - $parameter['dtd_identifier'], |
|
| 205 | - $parameter['parameter_name']); |
|
| 204 | + $parameter['dtd_identifier'], |
|
| 205 | + $parameter['parameter_name']); |
|
| 206 | 206 | } |
| 207 | 207 | |
| 208 | 208 | $schemaName = $matches['schema'] ?? null; |
@@ -249,10 +249,10 @@ discard block |
||
| 249 | 249 | } |
| 250 | 250 | |
| 251 | 251 | $this->parametersAddendum[$parameterName] = ['name' => $parameterName, |
| 252 | - 'data_type' => $dataType, |
|
| 253 | - 'delimiter' => $delimiter, |
|
| 254 | - 'enclosure' => $enclosure, |
|
| 255 | - 'escape' => $escape]; |
|
| 252 | + 'data_type' => $dataType, |
|
| 253 | + 'delimiter' => $delimiter, |
|
| 254 | + 'enclosure' => $enclosure, |
|
| 255 | + 'escape' => $escape]; |
|
| 256 | 256 | } |
| 257 | 257 | } |
| 258 | 258 | |
@@ -525,9 +525,9 @@ |
||
| 525 | 525 | private function extractParameters() |
| 526 | 526 | { |
| 527 | 527 | $this->routineParameters = new RoutineParametersHelper($this->dl, |
| 528 | - $this->io, |
|
| 529 | - $this->docBlockReflection, |
|
| 530 | - $this->routineName); |
|
| 528 | + $this->io, |
|
| 529 | + $this->docBlockReflection, |
|
| 530 | + $this->routineName); |
|
| 531 | 531 | |
| 532 | 532 | $this->routineParameters->extractRoutineParameters(); |
| 533 | 533 | } |