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
@@ -28,7 +28,7 @@ namespace <?= $namespace == '__root' ? '' : trim($namespace, '\\') ?> {
//Method inherited from <?= $method->getDeclaringClass() ?>
<?php endif; ?>
<?= $method->shouldReturn() ? 'return ': '' ?><?= $method->getRoot() ?>::<?= $method->getName() ?>(<?= $method->getParams() ?>);
<?= $method->shouldReturn() ? 'return ': '' ?><?= $method->getRoot() ?>::<?= $method->getRealName() ?>(<?= $method->getParams() ?>);
}
<?php endforeach; ?>
}