gen_stub: remove some misplaced spaces

This commit is contained in:
Daniel Scherzer 2024-10-07 19:38:11 -07:00 committed by Máté Kocsis
parent 69ff948d39
commit 8e40bb689e

View file

@ -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) {