From 9ea32398bb9025500015340a9a53c2b40eca2ed2 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 13 Jan 2019 13:23:23 +0100 Subject: [PATCH] Replace backticks with single quotes See #2509 See b1a577cf0dff4766984334bd07a3e8c88ca4144f --- .../files/lib/system/form/builder/field/DateFormField.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wcfsetup/install/files/lib/system/form/builder/field/DateFormField.class.php b/wcfsetup/install/files/lib/system/form/builder/field/DateFormField.class.php index bee9fb5cf0..1404ddf823 100644 --- a/wcfsetup/install/files/lib/system/form/builder/field/DateFormField.class.php +++ b/wcfsetup/install/files/lib/system/form/builder/field/DateFormField.class.php @@ -165,7 +165,7 @@ class DateFormField extends AbstractFormField implements IImmutableFormField { $dateTime = \DateTime::createFromFormat($this->getSaveValueFormat(), $this->getValue()); if ($dateTime === false) { - throw new \InvalidArgumentException("Given value does not match format `{$this->getSaveValueFormat()}`."); + throw new \InvalidArgumentException("Given value does not match format '{$this->getSaveValueFormat()}'."); } if ($this->supportsTime()) { -- 2.20.1