From 5feda5e9a6849f5b8091eeba756a18994dfcf758 Mon Sep 17 00:00:00 2001 From: Bernhard Schussek Date: Thu, 11 Sep 2014 18:28:58 +0200 Subject: [PATCH] [Intl] Removed non-working $fallback argument from ArrayAccessibleResourceBundle --- .../ResourceBundle/Util/ArrayAccessibleResourceBundle.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Symfony/Component/Intl/ResourceBundle/Util/ArrayAccessibleResourceBundle.php b/src/Symfony/Component/Intl/ResourceBundle/Util/ArrayAccessibleResourceBundle.php index fab8e93beda60..44f1b2c580015 100644 --- a/src/Symfony/Component/Intl/ResourceBundle/Util/ArrayAccessibleResourceBundle.php +++ b/src/Symfony/Component/Intl/ResourceBundle/Util/ArrayAccessibleResourceBundle.php @@ -32,16 +32,16 @@ public function __construct(\ResourceBundle $bundleImpl) $this->bundleImpl = $bundleImpl; } - public function get($offset, $fallback = null) + public function get($offset) { - $value = $this->bundleImpl->get($offset, $fallback); + $value = $this->bundleImpl->get($offset); return $value instanceof \ResourceBundle ? new static($value) : $value; } public function offsetExists($offset) { - return null !== $this->bundleImpl[$offset]; + return null !== $this->bundleImpl->get($offset); } public function offsetGet($offset)