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