Skip to content

Commit 4daca42

Browse files
authored
Merge pull request #2 from alibori/LARG-3-Add-option-to-create-multiple-resources-at-once
LARG-3 fix(command): Fix option to generate multiple resources at once
2 parents 35f0a34 + 67b5db4 commit 4daca42

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Console/GenerateApiResourceCommand.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,9 @@ protected function getPropertiesFromTable(Model $model): void
147147
return;
148148
}
149149

150+
$this->properties = [];
151+
$this->php_docs_properties = [];
152+
150153
foreach ($columns as $column) {
151154
// Check if $column is an array to deal with Laravel 11 upgrade
152155
if (is_array($column)) {

0 commit comments

Comments
 (0)