From b6fd75b0d5a7b491aa332e06e459e6c797140c31 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 31 Aug 2023 11:27:52 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Generator/ActiveRecord/Generator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Generator/ActiveRecord/Generator.php b/src/Generator/ActiveRecord/Generator.php index f7e79b77..1c8d690f 100644 --- a/src/Generator/ActiveRecord/Generator.php +++ b/src/Generator/ActiveRecord/Generator.php @@ -60,7 +60,7 @@ public function doGenerate(GeneratorCommandInterface $command): array $rootPath = $this->aliases->get('@root'); $properties = []; - if ($schema = $this->connection->getTableSchema($command->getTableName(), true)){ + if ($schema = $this->connection->getTableSchema($command->getTableName(), true)) { foreach ($schema->getColumns() as $columnSchema) { $properties[] = [ 'name' => $columnSchema->getName(),