Skip to content
This repository has been archived by the owner on Dec 11, 2020. It is now read-only.

Added some fixes to Armenian locale #788

Merged
merged 3 commits into from
Apr 29, 2016
Merged

Added some fixes to Armenian locale #788

merged 3 commits into from
Apr 29, 2016

Conversation

mhamlet
Copy link
Contributor

@mhamlet mhamlet commented Nov 29, 2015

No description provided.

$code = static::randomElement(static::$codes);
$numberFormat = static::randomElement(static::$numberFormats);

$number = str_replace(array('{code}', '{numberFormat}'), array($code, $numberFormat), $format);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should not need to str_replace, parse() would do it for you if there were related formatters.

@fzaninotto fzaninotto merged commit 2ad583f into fzaninotto:master Apr 29, 2016
@fzaninotto
Copy link
Owner

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants