diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-03-10 18:45:14 +0000 |
|---|---|---|
| committer | David Siegfried <david.siegfried@uni-vechta.de> | 2023-03-10 18:45:14 +0000 |
| commit | 01ebc410441ae59c684381c175217281c2d78edd (patch) | |
| tree | 75ae7153be87bfc53861abe13cee4ad9f2eab703 /lib/models/SimpleORMapCollection.class.php | |
| parent | fef7d9367736f3b33b0318da237ab024841c4f3f (diff) | |
return type adjustments, fixes #2290
Closes #2290
Merge request studip/studip!1514
Diffstat (limited to 'lib/models/SimpleORMapCollection.class.php')
| -rw-r--r-- | lib/models/SimpleORMapCollection.class.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/models/SimpleORMapCollection.class.php b/lib/models/SimpleORMapCollection.class.php index 94a52ec..11d8a5f 100644 --- a/lib/models/SimpleORMapCollection.class.php +++ b/lib/models/SimpleORMapCollection.class.php @@ -90,7 +90,10 @@ class SimpleORMapCollection extends SimpleCollection * * @see ArrayObject::offsetSet() * @throws InvalidArgumentException if the given model does not fit (wrong type or id) + * + * @todo Add void return type when Stud.IP requires PHP8 minimal */ + #[ReturnTypeWillChange] public function offsetSet($index, $newval) { if (!is_null($index)) { |
