mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-20 19:13:11 +00:00
Use declaring class
When function is inherited, link to the original class.
This commit is contained in:
@@ -195,7 +195,8 @@ namespace {\n\tdie('Only to be used as an helper for your IDE');\n}\n\n";
|
|||||||
{
|
{
|
||||||
if(!in_array($method->name, $usedMethods)){
|
if(!in_array($method->name, $usedMethods)){
|
||||||
$static = !in_array($method->name, $nonstaticMethods);
|
$static = !in_array($method->name, $nonstaticMethods);
|
||||||
$output .= $this->parseMethod($method, $alias, $root, $static);
|
$declaringClass = $method->getDeclaringClass();
|
||||||
|
$output .= $this->parseMethod($method, $alias, $declaringClass->name, $static);
|
||||||
$usedMethods[] = $method->name;
|
$usedMethods[] = $method->name;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user