|
@@ 75-77 (lines=3) @@
|
| 72 |
|
$description = $factory->create($property->getDocComment()); |
| 73 |
|
$tags = $description->getTags('var'); |
| 74 |
|
|
| 75 |
|
if (!count($tags)) { |
| 76 |
|
throw new Exception("No var tag for ".$entity.'::'.$property->getName()); |
| 77 |
|
} |
| 78 |
|
|
| 79 |
|
if (count($tags) > 1) { |
| 80 |
|
throw new Exception("Invalid var tag for ".$entity.'::'.$property->getName()); |
|
@@ 79-81 (lines=3) @@
|
| 76 |
|
throw new Exception("No var tag for ".$entity.'::'.$property->getName()); |
| 77 |
|
} |
| 78 |
|
|
| 79 |
|
if (count($tags) > 1) { |
| 80 |
|
throw new Exception("Invalid var tag for ".$entity.'::'.$property->getName()); |
| 81 |
|
} |
| 82 |
|
|
| 83 |
|
$property = $this->toUnderscore($property->getName()); |
| 84 |
|
$type = $this->getTarantoolType($tags[0]->getType()); |