Skip to content

Commit cee585e

Browse files
Silvan-WMDEaddshore
authored andcommitted
Remove unused imports
1 parent 6c14863 commit cee585e

3 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/Entity/ItemIdSet.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use Countable;
88
use InvalidArgumentException;
99
use IteratorAggregate;
10-
use Traversable;
1110

1211
/**
1312
* Immutable set of ItemId objects. Unordered and unique.

src/SiteLinkList.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class SiteLinkList implements IteratorAggregate, Countable, Comparable {
3535
* @throws InvalidArgumentException
3636
*/
3737
public function __construct( /* iterable */ $siteLinks = [] ) {
38-
if ( !is_array( $siteLinks ) && !( $siteLinks instanceof \Traversable ) ) {
38+
if ( !is_array( $siteLinks ) && !( $siteLinks instanceof Traversable ) ) {
3939
throw new InvalidArgumentException( '$siteLinks must be iterable' );
4040
}
4141

@@ -101,7 +101,7 @@ public function setNewSiteLink( $siteId, $pageName, $badges = null ) {
101101
/**
102102
* @see IteratorAggregate::getIterator
103103
*
104-
* Returns a Traversable of SiteLink in which the keys are the site ids.
104+
* Returns an Iterator of SiteLink in which the keys are the site ids.
105105
*
106106
* @return Iterator|SiteLink[]
107107
*/

src/Term/AliasGroupList.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
use InvalidArgumentException;
88
use IteratorAggregate;
99
use OutOfBoundsException;
10-
use Traversable;
1110

1211
/**
1312
* Unordered list of AliasGroup objects.

0 commit comments

Comments
 (0)