From 0af2ef09c5ddc7452bebfa3182cbdcaa162322e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 21 Jul 2013 22:07:43 +0000 Subject: [PATCH] Added possible missing interface IteratorAggregate (SPL) --- .../hub/interfaces/discovery/class_DiscoverableRecipient.php | 2 +- .../main/discovery/package/class_PackageRecipientDiscovery.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/application/hub/interfaces/discovery/class_DiscoverableRecipient.php b/application/hub/interfaces/discovery/class_DiscoverableRecipient.php index 765d3de3e..3c2fbf3c8 100644 --- a/application/hub/interfaces/discovery/class_DiscoverableRecipient.php +++ b/application/hub/interfaces/discovery/class_DiscoverableRecipient.php @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -interface DiscoverableRecipient extends FrameworkInterface { +interface DiscoverableRecipient extends FrameworkInterface, IteratorAggregate { /** * Tries to discover all recipients for given package data * diff --git a/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php b/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php index ae48aa47b..b8bcbd35b 100644 --- a/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php +++ b/application/hub/main/discovery/package/class_PackageRecipientDiscovery.php @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -class PackageRecipientDiscovery extends BaseHubDiscovery implements DiscoverableRecipient, Registerable { +class PackageRecipientDiscovery extends BaseHubDiscovery implements DiscoverableRecipient, Registerable, IteratorAggregate { /** * Protected constructor * -- 2.39.5