Skip to content

Commit

Permalink
Merge branch '5.0'
Browse files Browse the repository at this point in the history
* 5.0:
  fix merge
  Fix more quotes in exception messages
  Fix more quotes in exception messages
  Fix more quotes in exception messages
  [3.4] Minor fixes
  [PropertyAccess] Improved errors when reading uninitialized properties
  • Loading branch information
nicolas-grekas committed Mar 17, 2020
2 parents c5d5b88 + b82a2ec commit 64e8eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NumberFormatter/NumberFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ public function format($value, int $type = self::TYPE_DEFAULT)
}

if (self::CURRENCY === $this->style) {
throw new NotImplementedException(sprintf('%s() method does not support the formatting of currencies (instance with CURRENCY style). "%s".', __METHOD__, NotImplementedException::INTL_INSTALL_MESSAGE));
throw new NotImplementedException(sprintf('"%s()" method does not support the formatting of currencies (instance with CURRENCY style). "%s".', __METHOD__, NotImplementedException::INTL_INSTALL_MESSAGE));
}

// Only the default type is supported.
Expand Down

0 comments on commit 64e8eb8

Please sign in to comment.