Skip to content

Commit 4fd2f53

Browse files
committed
fix: use execute() to support CI 4.2.x
1 parent dce2a12 commit 4fd2f53

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Commands/Generators/UserModelGenerator.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,8 @@ public function run(array $params): int
7373

7474
$params[0] = $class;
7575

76-
$this->generateClass($params);
76+
// @TODO execute() is deprecated in CI v4.3.0.
77+
$this->execute($params); // @phpstan-ignore-line suppress deprecated error.
7778

7879
return 0;
7980
}

0 commit comments

Comments
 (0)