Skip to content
This repository was archived by the owner on Jan 29, 2020. It is now read-only.

Commit e50f557

Browse files
committed
Code style
1 parent 86844c1 commit e50f557

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/Generator/PropertyGenerator.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -218,22 +218,22 @@ public function generate()
218218
$this->name
219219
));
220220
}
221-
$output .= $this->indentation.'const '.$name.' = '
222-
.($defaultValue !== null ? $defaultValue->generate() : 'null;');
221+
$output .= $this->indentation . 'const ' . $name . ' = '
222+
. ($defaultValue !== null ? $defaultValue->generate() : 'null;');
223223

224224
return $output;
225225
}
226226
$output .= $this->indentation
227-
.$this->getVisibility()
228-
.($this->isStatic() ? ' static' : '')
229-
.' $'.$name;
227+
. $this->getVisibility()
228+
. ($this->isStatic() ? ' static' : '')
229+
. ' $' . $name;
230230
if ($this->defaultValue instanceof PropertyValueGenerator &&
231231
$this->defaultValue->getType() === ValueGenerator::TYPE_OMIT) {
232-
return $output.';';
232+
return $output . ';';
233233
}
234234
$output .=
235235
' = '
236-
.($defaultValue !== null ? $defaultValue->generate() : 'null;');
236+
. ($defaultValue !== null ? $defaultValue->generate() : 'null;');
237237

238238
return $output;
239239
}

0 commit comments

Comments
 (0)