File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 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)
7272 * The return value will be casted to boolean if non-boolean was returned.
7373 * @since 5.0.0
7474 */
75- public function offsetExists ($ offset )
75+ public function offsetExists ($ offset ): bool
7676 {
7777 return array_key_exists ($ offset , $ this ->info );
7878 }
@@ -86,6 +86,7 @@ public function offsetExists($offset)
8686 * @return mixed Can return all value types.
8787 * @since 5.0.0
8888 */
89+ #[\ReturnTypeWillChange]
8990 public function offsetGet ($ offset )
9091 {
9192 return $ this ->info [$ offset ];
@@ -103,7 +104,7 @@ public function offsetGet($offset)
103104 * @return void
104105 * @since 5.0.0
105106 */
106- public function offsetSet ($ offset , $ value )
107+ public function offsetSet ($ offset , $ value ) : void
107108 {
108109 // READONLY
109110 }
@@ -117,7 +118,7 @@ public function offsetSet($offset, $value)
117118 * @return void
118119 * @since 5.0.0
119120 */
120- public function offsetUnset ($ offset )
121+ public function offsetUnset ($ offset ) : void
121122 {
122123 // READONLY
123124 }
You can’t perform that action at this time.
0 commit comments