File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -346,7 +346,7 @@ class {{classname}} extends \Algolia\AlgoliaSearch\Model\AbstractModel {{^parent
346
346
*
347
347
* @return boolean
348
348
*/
349
- public function offsetExists($offset)
349
+ public function offsetExists($offset): bool
350
350
{
351
351
return isset($this -> container [$offset ]);
352
352
}
@@ -358,7 +358,7 @@ class {{classname}} extends \Algolia\AlgoliaSearch\Model\AbstractModel {{^parent
358
358
*
359
359
* @return mixed|null
360
360
*/
361
- public function offsetGet($offset)
361
+ public function offsetGet($offset): mixed
362
362
{
363
363
return $this -> container [$offset ] ?? null;
364
364
}
@@ -371,7 +371,7 @@ class {{classname}} extends \Algolia\AlgoliaSearch\Model\AbstractModel {{^parent
371
371
*
372
372
* @return void
373
373
*/
374
- public function offsetSet($offset, $value)
374
+ public function offsetSet($offset, $value): void
375
375
{
376
376
if (is_null($offset )) {
377
377
$this -> container [] = $value ;
@@ -387,7 +387,7 @@ class {{classname}} extends \Algolia\AlgoliaSearch\Model\AbstractModel {{^parent
387
387
*
388
388
* @return void
389
389
*/
390
- public function offsetUnset($offset)
390
+ public function offsetUnset($offset): void
391
391
{
392
392
unset($this -> container [$offset ]);
393
393
}
You can’t perform that action at this time.
0 commit comments