Mercurial > hg > isophonics-drupal-site
comparison vendor/symfony/serializer/Normalizer/DateTimeNormalizer.php @ 18:af1871eacc83
Update to Drupal core 8.7.1
author | Chris Cannam |
---|---|
date | Thu, 09 May 2019 15:33:08 +0100 |
parents | 129ea1e6d783 |
children |
comparison
equal
deleted
inserted
replaced
17:129ea1e6d783 | 18:af1871eacc83 |
---|---|
142 return $formattedErrors; | 142 return $formattedErrors; |
143 } | 143 } |
144 | 144 |
145 private function getTimezone(array $context) | 145 private function getTimezone(array $context) |
146 { | 146 { |
147 $dateTimeZone = array_key_exists(self::TIMEZONE_KEY, $context) ? $context[self::TIMEZONE_KEY] : $this->timezone; | 147 $dateTimeZone = \array_key_exists(self::TIMEZONE_KEY, $context) ? $context[self::TIMEZONE_KEY] : $this->timezone; |
148 | 148 |
149 if (null === $dateTimeZone) { | 149 if (null === $dateTimeZone) { |
150 return null; | 150 return null; |
151 } | 151 } |
152 | 152 |