From c499a827f577f88278a1cafda1c236e1f8f8b99f Mon Sep 17 00:00:00 2001 From: Sam Hauglustaine Date: Thu, 26 Sep 2024 14:46:02 +0200 Subject: [PATCH] shorten class identifier --- .../Generator/Behavior/Timestampable/TimestampableBehavior.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Propel/Generator/Behavior/Timestampable/TimestampableBehavior.php b/src/Propel/Generator/Behavior/Timestampable/TimestampableBehavior.php index f9787e53a..b5aca291e 100644 --- a/src/Propel/Generator/Behavior/Timestampable/TimestampableBehavior.php +++ b/src/Propel/Generator/Behavior/Timestampable/TimestampableBehavior.php @@ -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});