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

Commit e402092

Browse files
committed
Code style
1 parent e50f557 commit e402092

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/Generator/PropertyGenerator.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -223,17 +223,18 @@ public function generate()
223223

224224
return $output;
225225
}
226+
226227
$output .= $this->indentation
227228
. $this->getVisibility()
228229
. ($this->isStatic() ? ' static' : '')
229230
. ' $' . $name;
231+
230232
if ($this->defaultValue instanceof PropertyValueGenerator &&
231233
$this->defaultValue->getType() === ValueGenerator::TYPE_OMIT) {
232234
return $output . ';';
233235
}
234-
$output .=
235-
' = '
236-
. ($defaultValue !== null ? $defaultValue->generate() : 'null;');
236+
237+
$output .= ' = ' . ($defaultValue !== null ? $defaultValue->generate() : 'null;');
237238

238239
return $output;
239240
}

0 commit comments

Comments
 (0)