fix model docBlocks duplicates

Add each parsed model to ignore list, so if it exists more than once it will not be parsed twice.
This commit is contained in:
bebnev
2015-08-01 17:13:43 +04:00
parent e34b7fb84b
commit 76674be735
+1
View File
@@ -181,6 +181,7 @@ class ModelsCommand extends Command
$this->getPropertiesFromMethods($model);
$output .= $this->createPhpDocs($name);
$ignore[] = $name;
} catch (\Exception $e) {
$this->error("Exception: " . $e->getMessage() . "\nCould not analyze class $name.");
}