@@ 46-49 (lines=4) @@ | ||
43 | $type = $varTag->getType(); |
|
44 | ||
45 | $isCollection = false; |
|
46 | if (($pos = strpos($type, '[')) !== false) { |
|
47 | $isCollection = true; |
|
48 | $type = substr($type, 0, $pos); |
|
49 | } |
|
50 | ||
51 | if (static::isTypeObject($type)) { |
|
52 | $type = $this->resolveClassName($type, $reflectionProperty->getDeclaringClass()); |
|
@@ 117-120 (lines=4) @@ | ||
114 | $type = $returnTag->getType(); |
|
115 | ||
116 | $isCollection = false; |
|
117 | if (($pos = strpos($type, '[')) !== false) { |
|
118 | $isCollection = true; |
|
119 | $type = substr($type, 0, $pos); |
|
120 | } |
|
121 | ||
122 | if (static::isTypeObject($type)) { |
|
123 | $type = $this->resolveClassName($type, $reflectionFunction->getDeclaringClass()); |
@@ 75-79 (lines=5) @@ | ||
72 | $type = $this->determinePropertyType($reflectionProperty); |
|
73 | ||
74 | $isCollection = false; |
|
75 | if (($pos = strpos($type, '[')) !== false) { |
|
76 | // if type is collection of types |
|
77 | $isCollection = true; |
|
78 | $type = substr($type, 0, $pos); |
|
79 | } |
|
80 | ||
81 | $docBlock = new DocBlock($reflectionProperty); |
|
82 |