@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | * |
159 | 159 | * @param string $name The name of the class to get the closure for |
160 | 160 | * @param array $rule The rule to base the instance on |
161 | - * @return callable A closure that will create the appropriate object when called |
|
161 | + * @return \Closure A closure that will create the appropriate object when called |
|
162 | 162 | */ |
163 | 163 | private function getClosure($name, array $rule, \ReflectionClass $class) |
164 | 164 | { |
@@ -205,9 +205,9 @@ discard block |
||
205 | 205 | /** |
206 | 206 | * Returns a closure that generates arguments for $method based on $rule and any $args passed into the closure |
207 | 207 | * |
208 | - * @param ReflectionMethod $method A reflection of the method to inspect |
|
208 | + * @param \ReflectionMethod $method A reflection of the method to inspect |
|
209 | 209 | * @param array $rule The ruleset to use in interpreting what the params should be |
210 | - * @return callable A closure that uses the cached information to generate the method's arguments |
|
210 | + * @return \Closure A closure that uses the cached information to generate the method's arguments |
|
211 | 211 | */ |
212 | 212 | private function getParams(\ReflectionMethod $method, array $rule) |
213 | 213 | { |