Skip to content

Commit

Permalink
applied rector fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sammyskills committed Oct 24, 2023
1 parent dc55d41 commit fc8b036
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/Commands/Generators/ModelGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ protected function prepare(string $class): string
}

// Add or remove the DBGroup line based on the presence of the dbgroup option
$addDBGroupLine = is_string($dbGroup) ? true : false;
$addDBGroupLine = is_string($dbGroup);

$table = is_string($table) ? $table : plural(strtolower($baseClass));
$return = is_string($return) ? $return : 'array';
Expand Down

0 comments on commit fc8b036

Please sign in to comment.