Fix missed helpers for abstract methods the same name but different classes

This commit is contained in:
Pavlo Zhukov
2018-10-01 00:02:03 +03:00
parent 593e0d4aa7
commit 5d8d93273f
4 changed files with 15 additions and 2 deletions
+1 -1
View File
@@ -310,7 +310,7 @@ class Alias
$method = new \ReflectionMethod($className, $name);
$class = new \ReflectionClass($className);
if (!in_array($method->name, $this->usedMethods)) {
if (!in_array($magic, $this->usedMethods)) {
if ($class !== $this->root) {
$this->methods[] = new Method($method, $this->alias, $class, $magic, $this->interfaces);
}