Use full namespace

This commit is contained in:
Barry vd. Heuvel
2013-06-06 13:48:53 +02:00
parent 12845b38f0
commit ce4e9804ef
@@ -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;
}
}