Skip to content

Commit 5feda5e

Browse files
committed
[Intl] Removed non-working $fallback argument from ArrayAccessibleResourceBundle
1 parent a45e3da commit 5feda5e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Symfony/Component/Intl/ResourceBundle/Util/ArrayAccessibleResourceBundle.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,16 @@ public function __construct(\ResourceBundle $bundleImpl)
3232
$this->bundleImpl = $bundleImpl;
3333
}
3434

35-
public function get($offset, $fallback = null)
35+
public function get($offset)
3636
{
37-
$value = $this->bundleImpl->get($offset, $fallback);
37+
$value = $this->bundleImpl->get($offset);
3838

3939
return $value instanceof \ResourceBundle ? new static($value) : $value;
4040
}
4141

4242
public function offsetExists($offset)
4343
{
44-
return null !== $this->bundleImpl[$offset];
44+
return null !== $this->bundleImpl->get($offset);
4545
}
4646

4747
public function offsetGet($offset)

0 commit comments

Comments
 (0)