Skip to content

Commit

Permalink
shorten class identifier
Browse files Browse the repository at this point in the history
  • Loading branch information
smhg committed Sep 26, 2024
1 parent 3c47362 commit c499a82
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public function preUpdate(AbstractOMBuilder $builder): string

$valueSource = strtoupper($updateColumn->getType()) === 'INTEGER'
? 'time()'
: "\\Propel\\Runtime\\Util\\PropelDateTime::createHighPrecision(null, '$dateTimeClass')";
: "PropelDateTime::createHighPrecision(null, '$dateTimeClass')";

return 'if ($this->isModified() && !$this->isColumnModified(' . $this->getColumnConstant('update_column', $builder) . ")) {
\$this->" . $this->getColumnSetter('update_column') . "({$valueSource});
Expand Down

0 comments on commit c499a82

Please sign in to comment.