@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | /** |
69 | 69 | * Check if given method is impossible to invoke as relation |
70 | 70 | * |
71 | - * @param $method |
|
71 | + * @param ReflectionMethod $method |
|
72 | 72 | * @param $instance |
73 | 73 | * @return bool |
74 | 74 | */ |
@@ -80,6 +80,9 @@ discard block |
||
80 | 80 | || $method->getName() === __FUNCTION__; |
81 | 81 | } |
82 | 82 | |
83 | + /** |
|
84 | + * @param ReflectionMethod $method |
|
85 | + */ |
|
83 | 86 | private static function getInvocation($method, $instance) |
84 | 87 | { |
85 | 88 | try { |
@@ -98,7 +101,7 @@ discard block |
||
98 | 101 | * |
99 | 102 | * @param string $model |
100 | 103 | * @param ReflectionMethod $method |
101 | - * @param $invocation |
|
104 | + * @param Relation $invocation |
|
102 | 105 | * @return object |
103 | 106 | * @throws ReflectionException |
104 | 107 | */ |