mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-18 01:57:13 +00:00
Fix alignment
This commit is contained in:
@@ -252,7 +252,7 @@ class ModelsCommand extends Command {
|
|||||||
$namespace = '';
|
$namespace = '';
|
||||||
}
|
}
|
||||||
$output = "namespace $namespace{\n";
|
$output = "namespace $namespace{\n";
|
||||||
$output .= "/**\n *\n * Generated properties for $class\n *\n";
|
$output .= "\t/**\n\t *\n\t * Generated properties for $class\n\t *\n";
|
||||||
foreach($this->properties as $name => $property){
|
foreach($this->properties as $name => $property){
|
||||||
|
|
||||||
if($property['read'] && $property['write']){
|
if($property['read'] && $property['write']){
|
||||||
@@ -263,7 +263,6 @@ class ModelsCommand extends Command {
|
|||||||
$attr = 'property-read';
|
$attr = 'property-read';
|
||||||
}
|
}
|
||||||
$type = $property['type'];
|
$type = $property['type'];
|
||||||
//TODO; check if returned as date
|
|
||||||
|
|
||||||
$output .= "\t * @$attr $type \$$name \n";
|
$output .= "\t * @$attr $type \$$name \n";
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user