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