@@ -26,7 +26,7 @@ |
||
26 | 26 | /** |
27 | 27 | * @param MethodCollection $methodCollection |
28 | 28 | * |
29 | - * @return array |
|
29 | + * @return string |
|
30 | 30 | */ |
31 | 31 | public function extract(MethodCollection $methodCollection) |
32 | 32 | { |
@@ -53,6 +53,9 @@ discard block |
||
53 | 53 | return $type . ($isCollection ? '[]' : ''); |
54 | 54 | } |
55 | 55 | |
56 | + /** |
|
57 | + * @param string $type |
|
58 | + */ |
|
56 | 59 | private function isTypeObject($type) |
57 | 60 | { |
58 | 61 | switch (strtolower($type)) { |
@@ -77,6 +80,9 @@ discard block |
||
77 | 80 | } |
78 | 81 | } |
79 | 82 | |
83 | + /** |
|
84 | + * @param string $type |
|
85 | + */ |
|
80 | 86 | private function resolveClassName($type, \ReflectionClass $usingClass) |
81 | 87 | { |
82 | 88 | if (strpos($type, '\\') === 0 && class_exists($type)) { |