diff --git a/src/Database/Type/DateTimeType.php b/src/Database/Type/DateTimeType.php index 473eae3754f..7cabfa343ba 100644 --- a/src/Database/Type/DateTimeType.php +++ b/src/Database/Type/DateTimeType.php @@ -196,7 +196,7 @@ public function useLocaleParser($enable = true) $this->_useLocaleParser = $enable; return $this; } - throw new RuntimeException( + throw new \RuntimeException( sprintf('Cannot use locale parsing with the %s class', static::$dateTimeClass) ); }