fix code style
parent
33ff7600a5
commit
1b9d870eff
|
@ -766,10 +766,10 @@ class DefinitionResolver
|
||||||
$docBlock = $node->getAttribute('docBlock');
|
$docBlock = $node->getAttribute('docBlock');
|
||||||
if ($docBlock !== null) {
|
if ($docBlock !== null) {
|
||||||
// use @var tag
|
// use @var tag
|
||||||
foreach($docBlock->getTagsByName('var') as $varTag) {
|
foreach ($docBlock->getTagsByName('var') as $varTag) {
|
||||||
$type = $varTag->getType();
|
$type = $varTag->getType();
|
||||||
|
|
||||||
if($type === null) {
|
if ($type === null) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return $type;
|
return $type;
|
||||||
|
|
Loading…
Reference in New Issue