8000 Merge pull request #46 from symfony/php81-fix · symfony/requirements-checker@cf8893f · GitHub
[go: up one dir, main page]

Skip to content

Commit cf8893f

Browse files
authored
Merge pull request #46 from symfony/php81-fix
Remove unused method
2 parents b51083b + cb917ec commit cf8893f

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

src/RequirementCollection.php

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,13 @@
1616
*
1717
* @author Tobias Schultze <http://tobion.de>
1818
*/
19-
class RequirementCollection implements \IteratorAggregate
19+
class RequirementCollection
2020
{
2121
/**
2222
* @var Requirement[]
2323
*/
2424
private $requirements = array();
2525

26-
/**
27-
* Gets the current RequirementCollection as an Iterator.
28-
*
29-
* @return \Traversable A Traversable interface
30-
*/
31-
public function getIterator()
32-
{
33-
return new \ArrayIterator($this->requirements);
34-
}
35-
3626
/**
3727
* Adds a Requirement.
3828
*

0 commit comments

Comments
 (0)
0