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)
39
39
return $ value instanceof \ResourceBundle ? new static ($ value ) : $ value ;
40
40
}
41
41
42
- public function offsetExists ($ offset )
42
+ public function offsetExists ($ offset ): bool
43
43
{
44
44
return null !== $ this ->bundleImpl ->get ($ offset );
45
45
}
@@ -59,12 +59,12 @@ public function offsetUnset($offset)
59
59
throw new BadMethodCallException ('Resource bundles cannot be modified. ' );
60
60
}
61
61
62
- public function getIterator ()
62
+ public function getIterator (): \ Traversable
63
63
{
64
64
return $ this ->bundleImpl ;
65
65
}
66
66
67
- public function count ()
67
+ public function count (): int
68
68
{
69
69
return $ this ->bundleImpl ->count ();
70
70
}
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ public function __construct(int $size)
42
42
/**
43
43
* {@inheritdoc}
44
44
*/
45
- public function offsetExists ($ key )
45
+ public function offsetExists ($ key ): bool
46
46
{
47
47
return isset ($ this ->indices [$ key ]);
48
48
}
You can’t perform that action at this time.
0 commit comments