Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Aug 31, 2023
1 parent b08de00 commit b6fd75b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Generator/ActiveRecord/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit b6fd75b

Please sign in to comment.