@@ -31,6 +31,10 @@ |
||
31 | 31 | */ |
32 | 32 | private $isPassedByReference; |
33 | 33 | |
34 | + /** |
|
35 | + * @param string $name |
|
36 | + * @param string $typeHint |
|
37 | + */ |
|
34 | 38 | public function __construct( |
35 | 39 | $name, |
36 | 40 | $typeHint = null, |
@@ -22,6 +22,9 @@ |
||
22 | 22 | */ |
23 | 23 | protected $reflection; |
24 | 24 | |
25 | + /** |
|
26 | + * @param string $sourceType |
|
27 | + */ |
|
25 | 28 | public function __construct(ITypeSystem $typeSystem, $sourceType, \ReflectionMethod $reflection, $returnType) |
26 | 29 | { |
27 | 30 | parent::__construct($typeSystem, $sourceType, $returnType); |
@@ -137,6 +137,9 @@ discard block |
||
137 | 137 | return parent::getStaticMethod($expression); |
138 | 138 | } |
139 | 139 | |
140 | + /** |
|
141 | + * @param boolean $mustBeStatic |
|
142 | + */ |
|
140 | 143 | protected function getMethodByName(O\Expression $nameExpression, $mustBeStatic) |
141 | 144 | { |
142 | 145 | if ($nameExpression instanceof O\ValueExpression) { |
@@ -171,6 +174,9 @@ discard block |
||
171 | 174 | return parent::getStaticField($expression); |
172 | 175 | } |
173 | 176 | |
177 | + /** |
|
178 | + * @param boolean $static |
|
179 | + */ |
|
174 | 180 | protected function getFieldByName(O\Expression $nameExpression, $static) |
175 | 181 | { |
176 | 182 | if ($nameExpression instanceof O\ValueExpression) { |
@@ -159,6 +159,9 @@ |
||
159 | 159 | $parentConstant); //parent::class |
160 | 160 | } |
161 | 161 | |
162 | + /** |
|
163 | + * @param string|null $type |
|
164 | + */ |
|
162 | 165 | protected function fullyQualify($type) |
163 | 166 | { |
164 | 167 | return $type[0] !== '\\' ? '\\' . $type : $type; |
@@ -56,6 +56,14 @@ |
||
56 | 56 | */ |
57 | 57 | protected $hash; |
58 | 58 | |
59 | + /** |
|
60 | + * @param integer $type |
|
61 | + * @param boolean $returnsReference |
|
62 | + * @param integer|null $accessModifier |
|
63 | + * @param integer|null $polymorphModifier |
|
64 | + * @param boolean|null $isStatic |
|
65 | + * @param string|null $name |
|
66 | + */ |
|
59 | 67 | protected function __construct( |
60 | 68 | $type, |
61 | 69 | $returnsReference, |
@@ -18,7 +18,7 @@ |
||
18 | 18 | /** |
19 | 19 | * @param callable $function |
20 | 20 | * |
21 | - * @return \ReflectionFunctionAbstract |
|
21 | + * @return callable |
|
22 | 22 | * @throws InvalidFunctionException |
23 | 23 | */ |
24 | 24 | final public static function fromCallable(callable $function) |