mirror of
https://github.com/php/php-src.git
synced 2025-08-15 13:38:49 +02:00
gen_stub: remove some misplaced spaces
This commit is contained in:
parent
69ff948d39
commit
8e40bb689e
1 changed files with 3 additions and 3 deletions
|
@ -957,7 +957,7 @@ class PropertyName implements VariableLikeName {
|
||||||
|
|
||||||
public function getDeclarationName(): string
|
public function getDeclarationName(): string
|
||||||
{
|
{
|
||||||
return $this->property;
|
return $this->property;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2568,7 +2568,7 @@ class ConstInfo extends VariableLike
|
||||||
return $termElement;
|
return $termElement;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function getPredefinedConstantEntry(DOMDocument $doc, int $indentationLevel): DOMElement {
|
public function getPredefinedConstantEntry(DOMDocument $doc, int $indentationLevel): DOMElement {
|
||||||
$indentation = str_repeat(" ", $indentationLevel);
|
$indentation = str_repeat(" ", $indentationLevel);
|
||||||
|
|
||||||
$entryElement = $doc->createElement("entry");
|
$entryElement = $doc->createElement("entry");
|
||||||
|
@ -5076,7 +5076,7 @@ function findEquivalentFuncInfo(array $generatedFuncInfos, FuncInfo $funcInfo):
|
||||||
function generateCodeWithConditions(
|
function generateCodeWithConditions(
|
||||||
iterable $infos, string $separator, Closure $codeGenerator, ?string $parentCond = null): string {
|
iterable $infos, string $separator, Closure $codeGenerator, ?string $parentCond = null): string {
|
||||||
$code = "";
|
$code = "";
|
||||||
|
|
||||||
// For combining the conditional blocks of the infos with the same condition
|
// For combining the conditional blocks of the infos with the same condition
|
||||||
$openCondition = null;
|
$openCondition = null;
|
||||||
foreach ($infos as $info) {
|
foreach ($infos as $info) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue