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