Skip to content

Commit fc8b036

Browse files
committed
applied rector fix
1 parent dc55d41 commit fc8b036

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Commands/Generators/ModelGenerator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ protected function prepare(string $class): string
102102
}
103103

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

107107
$table = is_string($table) ? $table : plural(strtolower($baseClass));
108108
$return = is_string($return) ? $return : 'array';

0 commit comments

Comments
 (0)