Completed
Push — master ( cde43d...a62206 )
by Thomas
08:09
created
src/generator/domain/base/ModelDomainTraitGenerator.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,13 +107,13 @@
 block discarded – undo
107 107
 		// constructor
108 108
 		$class->setMethod(PhpMethod::create('__construct')
109 109
 			->addParameter(PhpParameter::create($modelVariableName)->setType($model->getPhpName()))
110
-			->setBody('$this->' . $modelVariableName . ' = $' . $modelVariableName .';')
110
+			->setBody('$this->' . $modelVariableName . ' = $' . $modelVariableName . ';')
111 111
 		);
112 112
 		
113 113
 		// getModel()
114 114
 		$class->setMethod(PhpMethod::create('get' . $model->getPhpName())
115 115
 			->setType($model->getPhpName())
116
-			->setBody('return $this->' . $modelVariableName .';')
116
+			->setBody('return $this->' . $modelVariableName . ';')
117 117
 		);
118 118
 		
119 119
 		$this->codegenService->dumpStruct($class, true);
Please login to merge, or discard this patch.