Skip to content

Commit 3e7460f

Browse files
authored
Merge pull request #280 from tvdijen/patch-1
Suppress deprecation error on PHP 8.1
2 parents bbeb8f4 + 1f70893 commit 3e7460f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Translations.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,7 @@ public function __clone()
215215
*
216216
* @return Translation
217217
*/
218+
#[\ReturnTypeWillChange]
218219
public function offsetSet($index, $value)
219220
{
220221
if (!($value instanceof Translation)) {

0 commit comments

Comments
 (0)