File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -305,7 +305,7 @@ protected function processKeys($attributes)
305
305
* @param string $offset
306
306
* @return bool
307
307
*/
308
- public function offsetExists ($ offset )
308
+ public function offsetExists ($ offset ): bool
309
309
{
310
310
return $ this ->{$ offset } !== null ;
311
311
}
@@ -316,7 +316,7 @@ public function offsetExists($offset)
316
316
* @param string $offset
317
317
* @return mixed
318
318
*/
319
- public function offsetGet ($ offset )
319
+ public function offsetGet ($ offset ): mixed
320
320
{
321
321
return $ this ->{$ offset };
322
322
}
@@ -329,7 +329,7 @@ public function offsetGet($offset)
329
329
*
330
330
* @throws BadMethodCallException
331
331
*/
332
- public function offsetSet ($ offset , $ value )
332
+ public function offsetSet ($ offset , $ value ): void
333
333
{
334
334
throw new BadMethodCallException ('Hemp/Presenter does not support write methods ' );
335
335
}
@@ -341,7 +341,7 @@ public function offsetSet($offset, $value)
341
341
*
342
342
* @throws BadMethodCallException
343
343
*/
344
- public function offsetUnset ($ offset )
344
+ public function offsetUnset ($ offset ): void
345
345
{
346
346
throw new BadMethodCallException ('Hemp/Presenter does not support write methods ' );
347
347
}
You can’t perform that action at this time.
0 commit comments