Skip to content

Commit 164015e

Browse files
committed
Remove hhvm compat
1 parent c49895f commit 164015e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/VarDumper/Caster/DateCaster.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static function castTimeZone(\DateTimeZone $timeZone, array $a, Stub $stu
6868
{
6969
$location = $timeZone->getLocation();
7070
$formatted = (new \Datetime('now', $timeZone))->format($location ? 'e (P)' : 'P');
71-
$title = $location && extension_loaded('intl') ? \Locale::getDisplayRegion('-'.$location['country_code'], \Locale::getDefault()) : '';
71+
$title = $location && extension_loaded('intl') ? \Locale::getDisplayRegion('-'.$location['country_code']) : '';
7272

7373
$z = array(Caster::PREFIX_VIRTUAL.'timezone' => new ConstStub($formatted, $title));
7474

0 commit comments

Comments
 (0)