@@ -107,13 +107,13 @@ |
||
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); |