Skip to content

Commit f4bb35b

Browse files
committed
minor #15135 [Intl] Remove duplicated parentheses (sebpacz)
This PR was merged into the 4.4 branch. Discussion ---------- [Intl] Remove duplicated parentheses <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 7803935 [Intl] Remove duplicated parentheses
2 parents fe15073 + 7803935 commit f4bb35b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/intl.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,8 +381,8 @@ arguments to get the offset at any given point in time::
381381
The string representation of the GMT offset can vary depending on the locale, so
382382
you can pass the locale as the third optional argument::
383383

384-
$offset = Timezones::getGmtOffset('Europe/Madrid', strtotime('October 28, 2019'), 'ar')); // $offset = 'غرينتش+01:00'
385-
$offset = Timezones::getGmtOffset('Europe/Madrid', strtotime('October 28, 2019'), 'dz')); // $offset = 'ཇི་ཨེམ་ཏི་+01:00'
384+
$offset = Timezones::getGmtOffset('Europe/Madrid', strtotime('October 28, 2019'), 'ar'); // $offset = 'غرينتش+01:00'
385+
$offset = Timezones::getGmtOffset('Europe/Madrid', strtotime('October 28, 2019'), 'dz'); // $offset = 'ཇི་ཨེམ་ཏི་+01:00'
386386

387387
If the given timezone ID doesn't exist, the methods trigger a
388388
:class:`Symfony\\Component\\Intl\\Exception\\MissingResourceException`. In addition

0 commit comments

Comments
 (0)