Skip to content

Commit 734afaa

Browse files
committed
Remove iterator form TrustAnchorConfigBag
1 parent 01e4c19 commit 734afaa

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

src/ValueAbstracts/TrustAnchorConfigBag.php

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,7 @@
44

55
namespace SimpleSAML\OpenID\ValueAbstracts;
66

7-
use Traversable;
8-
9-
/**
10-
* @implements \IteratorAggregate<non-empty-string,\SimpleSAML\OpenID\ValueAbstracts\TrustAnchorConfig>
11-
*/
12-
class TrustAnchorConfigBag implements \IteratorAggregate
7+
class TrustAnchorConfigBag
138
{
149
/**
1510
* @var array<non-empty-string,\SimpleSAML\OpenID\ValueAbstracts\TrustAnchorConfig>
@@ -73,13 +68,4 @@ public function getInCommonWith(TrustAnchorConfigBag $otherBag): TrustAnchorConf
7368
{
7469
return new self(...array_intersect_key($this->getAll(), $otherBag->getAll()));
7570
}
76-
77-
78-
/**
79-
* @return \ArrayIterator<string,\SimpleSAML\OpenID\ValueAbstracts\TrustAnchorConfig>
80-
*/
81-
public function getIterator(): Traversable
82-
{
83-
return new \ArrayIterator($this->getAll());
84-
}
8571
}

0 commit comments

Comments
 (0)