Skip to content

Commit

Permalink
[Intl] Removed non-working $fallback argument from ArrayAccessibleRes…
Browse files Browse the repository at this point in the history
…ourceBundle
  • Loading branch information
webmozart committed Sep 11, 2014
1 parent a45e3da commit 5feda5e
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -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)
Expand Down

0 comments on commit 5feda5e

Please sign in to comment.