Skip to content

Commit

Permalink
set return type package native ReflectionMethod
Browse files Browse the repository at this point in the history
  • Loading branch information
koriym committed May 25, 2018
1 parent cfc6d81 commit bcc5380
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/MethodInvocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,5 @@ interface MethodInvocation extends Invocation
*
* @return \ReflectionMethod|ReflectionMethod method being called
*/
public function getMethod() : \ReflectionMethod;
public function getMethod() : ReflectionMethod;
}
2 changes: 1 addition & 1 deletion src/ReflectiveMethodInvocation.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public function __construct(
/**
* {@inheritdoc}
*/
public function getMethod() : \ReflectionMethod
public function getMethod() : ReflectionMethod
{
if ($this->object instanceof WeavedInterface) {
$class = (new \ReflectionObject($this->object))->getParentClass();
Expand Down

0 comments on commit bcc5380

Please sign in to comment.