File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -2627,7 +2627,7 @@ protected function getAccessValueStatement(Column $column): string
26272627 }
26282628
26292629 if ($ column ->isPhpBackedEnumType ()) {
2630- return "\ $this-> $ columnName?->value " ;
2630+ return ' $this-> ' . $ columnName . ' ?->value ' ;
26312631 }
26322632
26332633 return "\$this-> $ columnName " ;
Original file line number Diff line number Diff line change 44
55namespace Propel \Generator \Model ;
66
7+ use BackedEnum ;
78use PDO ;
89use function in_array ;
10+ use function is_subclass_of ;
911use function strtoupper ;
1012
1113/**
@@ -727,7 +729,7 @@ public static function isPhpObjectType(string $phpType): bool
727729 */
728730 public static function isPhpBackedEnumType (string $ phpType ): bool
729731 {
730- return is_subclass_of ($ phpType , \ BackedEnum::class);
732+ return is_subclass_of ($ phpType , BackedEnum::class);
731733 }
732734
733735 /**
You can’t perform that action at this time.
0 commit comments