File tree 1 file changed +4
-3
lines changed
1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ public function __get($prop)
72
72
* The return value will be casted to boolean if non-boolean was returned.
73
73
* @since 5.0.0
74
74
*/
75
- public function offsetExists ($ offset )
75
+ public function offsetExists ($ offset ): bool
76
76
{
77
77
return array_key_exists ($ offset , $ this ->info );
78
78
}
@@ -86,6 +86,7 @@ public function offsetExists($offset)
86
86
* @return mixed Can return all value types.
87
87
* @since 5.0.0
88
88
*/
89
+ #[\ReturnTypeWillChange]
89
90
public function offsetGet ($ offset )
90
91
{
91
92
return $ this ->info [$ offset ];
@@ -103,7 +104,7 @@ public function offsetGet($offset)
103
104
* @return void
104
105
* @since 5.0.0
105
106
*/
106
- public function offsetSet ($ offset , $ value )
107
+ public function offsetSet ($ offset , $ value ) : void
107
108
{
108
109
// READONLY
109
110
}
@@ -117,7 +118,7 @@ public function offsetSet($offset, $value)
117
118
* @return void
118
119
* @since 5.0.0
119
120
*/
120
- public function offsetUnset ($ offset )
121
+ public function offsetUnset ($ offset ) : void
121
122
{
122
123
// READONLY
123
124
}
You can’t perform that action at this time.
0 commit comments