|
@@ 91-93 (lines=3) @@
|
| 88 |
|
$description = $factory->create($property->getDocComment()); |
| 89 |
|
$tags = $description->getTags('var'); |
| 90 |
|
|
| 91 |
|
if (!count($tags)) { |
| 92 |
|
throw new Exception("No var tag for ".$entity.'::'.$property->getName()); |
| 93 |
|
} |
| 94 |
|
|
| 95 |
|
if (count($tags) > 1) { |
| 96 |
|
throw new Exception("Invalid var tag for ".$entity.'::'.$property->getName()); |
|
@@ 95-97 (lines=3) @@
|
| 92 |
|
throw new Exception("No var tag for ".$entity.'::'.$property->getName()); |
| 93 |
|
} |
| 94 |
|
|
| 95 |
|
if (count($tags) > 1) { |
| 96 |
|
throw new Exception("Invalid var tag for ".$entity.'::'.$property->getName()); |
| 97 |
|
} |
| 98 |
|
|
| 99 |
|
$property = $this->toUnderscore($property->getName()); |
| 100 |
|
$type = $this->getTarantoolType($tags[0]->getType()); |