File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ public function get($offset)
3939 return $ value instanceof \ResourceBundle ? new static ($ value ) : $ value ;
4040 }
4141
42- public function offsetExists ($ offset )
42+ public function offsetExists ($ offset ): bool
4343 {
4444 return null !== $ this ->bundleImpl ->get ($ offset );
4545 }
@@ -59,12 +59,12 @@ public function offsetUnset($offset)
5959 throw new BadMethodCallException ('Resource bundles cannot be modified. ' );
6060 }
6161
62- public function getIterator ()
62+ public function getIterator (): \ Traversable
6363 {
6464 return $ this ->bundleImpl ;
6565 }
6666
67- public function count ()
67+ public function count (): int
6868 {
6969 return $ this ->bundleImpl ->count ();
7070 }
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function __construct(int $size)
4242 /**
4343 * {@inheritdoc}
4444 */
45- public function offsetExists ($ key )
45+ public function offsetExists ($ key ): bool
4646 {
4747 return isset ($ this ->indices [$ key ]);
4848 }
You can’t perform that action at this time.
0 commit comments