diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-05-06 08:50:32 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2024-05-06 08:50:32 +0000 |
| commit | c659d71e33cecbe42a7038c281c082f4b5c98414 (patch) | |
| tree | 6bb722750e822599723045082449d2e63034dd6f /lib/classes/StudipCachedArray.php | |
| parent | f8d42374860009922ee68bd9aba63e50f66e77df (diff) | |
adjustments for php8, fixes #4111
Closes #4111
Merge request studip/studip!2956
Diffstat (limited to 'lib/classes/StudipCachedArray.php')
| -rw-r--r-- | lib/classes/StudipCachedArray.php | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/classes/StudipCachedArray.php b/lib/classes/StudipCachedArray.php index 18bb55b..1232d00 100644 --- a/lib/classes/StudipCachedArray.php +++ b/lib/classes/StudipCachedArray.php @@ -71,13 +71,8 @@ class StudipCachedArray implements ArrayAccess * Returns the value at given offset or null if it doesn't exist. * * @param string $offset Offset - * - * @return mixed - * - * @todo Add mixed return type when Stud.IP requires PHP8 minimal */ - #[ReturnTypeWillChange] - public function offsetGet($offset) + public function offsetGet($offset): mixed { $this->loadData($offset); return $this->data[$offset]; |
