|
@@ 114-116 (lines=3) @@
|
| 111 |
|
$description = $factory->create($property->getDocComment(), $context); |
| 112 |
|
$tags = $description->getTags('var'); |
| 113 |
|
|
| 114 |
|
if (!count($tags)) { |
| 115 |
|
throw new Exception("No var tag for ".$entity.'::'.$property->getName()); |
| 116 |
|
} |
| 117 |
|
|
| 118 |
|
if (count($tags) > 1) { |
| 119 |
|
throw new Exception("Invalid var tag for ".$entity.'::'.$property->getName()); |
|
@@ 118-120 (lines=3) @@
|
| 115 |
|
throw new Exception("No var tag for ".$entity.'::'.$property->getName()); |
| 116 |
|
} |
| 117 |
|
|
| 118 |
|
if (count($tags) > 1) { |
| 119 |
|
throw new Exception("Invalid var tag for ".$entity.'::'.$property->getName()); |
| 120 |
|
} |
| 121 |
|
|
| 122 |
|
$propertyName = $property->getName(); |
| 123 |
|
$phpType = $tags[0]->getType(); |