Skip to content
This repository was archived by the owner on Feb 21, 2019. It is now read-only.

Commit 104ac48

Browse files
committed
Method: self replaced with static
1 parent d12ed19 commit 104ac48

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Reflection/Method.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,12 +96,12 @@ public function getDeclaringClass()
9696

9797

9898
/**
99-
* @return Method
99+
* @return self
100100
*/
101101
public function getPrototype()
102102
{
103103
$prototype = parent::getPrototype();
104-
return new self($prototype->getDeclaringClass()->getName(), $prototype->getName());
104+
return new static($prototype->getDeclaringClass()->getName(), $prototype->getName());
105105
}
106106

107107

0 commit comments

Comments
 (0)