From c290af858deb08347a42ba2062566d325d340096 Mon Sep 17 00:00:00 2001 From: snmatsui Date: Thu, 8 Feb 2024 05:31:12 +0900 Subject: [PATCH] reset foreignKeyConstraintsColumns on model loop start (#1461) --- src/Console/ModelsCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Console/ModelsCommand.php b/src/Console/ModelsCommand.php index 13735c206..fd34432e0 100644 --- a/src/Console/ModelsCommand.php +++ b/src/Console/ModelsCommand.php @@ -266,6 +266,7 @@ protected function generateDocs($loadModels, $ignore = '') } $this->properties = []; $this->methods = []; + $this->foreignKeyConstraintsColumns = []; if (class_exists($name)) { try { // handle abstract classes, interfaces, ...