diff options
| author | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
|---|---|---|
| committer | Philipp Schüttlöffel <schuettloeffel@zqs.uni-hannover.de> | 2024-09-24 10:53:31 +0200 |
| commit | 4459dd7917f4d1c34f40bb68f0e991e9c3d53e4c (patch) | |
| tree | 5c07151ae61276d334e88f6309c30d439a85c12e /lib/navigation/Navigation.php | |
| parent | da0022e5c1abbf9825ae76debaabdff7e8623bb4 (diff) | |
| parent | 97a188592c679890a25c37ab78463add76a52ff7 (diff) | |
Merge branch 'main' into issue-3911issue-3911
Diffstat (limited to 'lib/navigation/Navigation.php')
| -rw-r--r-- | lib/navigation/Navigation.php | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/lib/navigation/Navigation.php b/lib/navigation/Navigation.php index 3c02e86..af4355b 100644 --- a/lib/navigation/Navigation.php +++ b/lib/navigation/Navigation.php @@ -562,12 +562,9 @@ class Navigation implements IteratorAggregate } /** - * IteratorAggregate: Create interator for request parameters. - * - * @todo Add Traversable return type when Stud.IP requires PHP8 minimal + * IteratorAggregate: Create iterator for request parameters. */ - #[\ReturnTypeWillChange] - public function getIterator() + public function getIterator(): Traversable { return new ArrayIterator($this->getSubNavigation()); } |
