mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
Fixed PHPCS PSR2 issues
This commit is contained in:
+4
-4
@@ -63,7 +63,7 @@ class Alias
|
||||
$this->detectClassType();
|
||||
$this->detectExtendsNamespace();
|
||||
|
||||
if(!empty($this->namespace)) {
|
||||
if (!empty($this->namespace)) {
|
||||
//Create a DocBlock and serializer instance
|
||||
$this->phpdoc = new DocBlock(new ReflectionClass($alias), new Context($this->namespace));
|
||||
}
|
||||
@@ -119,7 +119,7 @@ class Alias
|
||||
{
|
||||
return $this->extends;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the class short name which this alias extends
|
||||
*
|
||||
@@ -129,7 +129,7 @@ class Alias
|
||||
{
|
||||
return $this->extendsClass;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the namespace of the class which this alias extends
|
||||
*
|
||||
@@ -192,7 +192,7 @@ class Alias
|
||||
$this->short = $this->alias;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Detect the extends namespace
|
||||
*/
|
||||
|
||||
@@ -140,7 +140,7 @@ class ModelsCommand extends Command
|
||||
array('write', 'W', InputOption::VALUE_NONE, 'Write to Model file'),
|
||||
array('nowrite', 'N', InputOption::VALUE_NONE, 'Don\'t write to Model file'),
|
||||
array('reset', 'R', InputOption::VALUE_NONE, 'Remove the original phpdocs instead of appending'),
|
||||
array('smart-reset', 'r', InputOption::VALUE_NONE, 'Remove the original phpdocs properties/methods, but keep the text'),
|
||||
array('smart-reset', 'r', InputOption::VALUE_NONE, 'Refresh the properties/methods list, but keep the text'),
|
||||
array('ignore', 'I', InputOption::VALUE_OPTIONAL, 'Which models to ignore', ''),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user