Skip to content

Commit 4dbe02b

Browse files
authored
One more PHP 8.1 deprecation fix (#374)
* PHP Deprecated: Return type of MauticPlugin\CustomObjectsBundle\Entity\CustomFieldOption::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed * Compativility with PHP 7.4
1 parent eb947b5 commit 4dbe02b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Entity/CustomFieldOption.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,10 @@ public function offsetExists($offset): bool
171171

172172
/**
173173
* {@inheritdoc}
174+
*
175+
* @param mixed $offset
176+
*
177+
* @return mixed
174178
*/
175179
public function offsetGet($offset)
176180
{

0 commit comments

Comments
 (0)