From 8c086d1a6ea147fa40c1ed6b5cf4a0e95f2c6594 Mon Sep 17 00:00:00 2001 From: Marco Pivetta Date: Fri, 11 Dec 2015 18:53:18 +0100 Subject: [PATCH] #1497 - minor CS fixes --- docs/en/cookbook/working-with-datetime.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docs/en/cookbook/working-with-datetime.rst b/docs/en/cookbook/working-with-datetime.rst index 2b5317c69..3b1e2e59f 100644 --- a/docs/en/cookbook/working-with-datetime.rst +++ b/docs/en/cookbook/working-with-datetime.rst @@ -89,7 +89,7 @@ the UTC time at the time of the booking and the timezone the event happened in. class UTCDateTimeType extends DateTimeType { - static private $utc = null; + static private $utc; public function convertToDatabaseValue($value, AbstractPlatform $platform) { @@ -122,7 +122,6 @@ the UTC time at the time of the booking and the timezone the event happened in. return $converted; } - } This database type makes sure that every DateTime instance is always saved in UTC, relative