@@ -105,13 +105,13 @@ |
||
105 | 105 | // constructor |
106 | 106 | $class->setMethod(PhpMethod::create('__construct') |
107 | 107 | ->addParameter(PhpParameter::create($modelVariableName)->setType($model->getPhpName())) |
108 | - ->setBody('$this->' . $modelVariableName . ' = ' . $modelVariableName .';') |
|
108 | + ->setBody('$this->' . $modelVariableName . ' = ' . $modelVariableName . ';') |
|
109 | 109 | ); |
110 | 110 | |
111 | 111 | // getModel() |
112 | 112 | $class->setMethod(PhpMethod::create('get' . $model->getPhpName()) |
113 | 113 | ->setType($model->getPhpName()) |
114 | - ->setBody('return $this->' . $modelVariableName .';') |
|
114 | + ->setBody('return $this->' . $modelVariableName . ';') |
|
115 | 115 | ); |
116 | 116 | |
117 | 117 | $this->codegenService->dumpStruct($class, true); |