diff --git a/src/Coders/Model/Factory.php b/src/Coders/Model/Factory.php index b4047bc0..64f4dbd1 100644 --- a/src/Coders/Model/Factory.php +++ b/src/Coders/Model/Factory.php @@ -342,7 +342,11 @@ protected function properties(Model $model) // Process property annotations $annotations = ''; + $hints = $model->getHints(); foreach ($model->getProperties() as $name => $hint) { + if (!empty($hints[$name])) { + $name .= ' '.$hints[$name]; + } $annotations .= $this->class->annotation('property', "$hint \$$name"); }