Skip to content

Commit 894928d

Browse files
committed
add explicit @return annotation for mixed type to fix PHP7.4 deprecation notice
1 parent dcd970a commit 894928d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Schema/Rdf/RdfResource.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -404,6 +404,8 @@ public function offsetExists($offset): bool
404404

405405
/**
406406
* Array Access Interface: perform get at using array syntax.
407+
*
408+
* @return mixed Can return all value types.
407409
*/
408410
#[\ReturnTypeWillChange]
409411
public function offsetGet($offset)

0 commit comments

Comments
 (0)