mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-17 17:47:13 +00:00
Use full namespaces
More inline with the rest of the phpdocs (and correct when in namespace)
This commit is contained in:
@@ -132,10 +132,10 @@ class GeneratorCommand extends Command {
|
||||
|
||||
$output .= "namespace $namespace {\n";
|
||||
if($sublime){
|
||||
$output .= " class $alias extends $root{\n";
|
||||
$output .= " class $alias extends \\$root{\n";
|
||||
}else{
|
||||
$output .= " class $alias{\n";
|
||||
$output .= "\t/**\n\t * @var $root \$root\n\t */\n\t static private \$root;\n\n";
|
||||
$output .= "\t/**\n\t * @var \\$root \$root\n\t */\n\t static private \$root;\n\n";
|
||||
}
|
||||
$methods = $d->getMethods();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user