mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-18 02:05:36 +00:00
fix: stupid foreach
This commit is contained in:
parent
206ca602c9
commit
c8c3d1db3e
@ -70,8 +70,8 @@ class WatchListController extends AbstractController
|
|||||||
|
|
||||||
/** @var Domain $domain */
|
/** @var Domain $domain */
|
||||||
foreach ($watchList->getDomains()->getIterator() as $domain) {
|
foreach ($watchList->getDomains()->getIterator() as $domain) {
|
||||||
foreach ($domain->getEvents() as $event) {
|
foreach ($domain->getDomainCalendarEvents() as $event) {
|
||||||
$domain->addEvent($event);
|
$calendar->addEvent($event);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -608,6 +608,8 @@ class Domain
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* @return Event[]
|
||||||
|
*
|
||||||
* @throws ParseException
|
* @throws ParseException
|
||||||
* @throws EofException
|
* @throws EofException
|
||||||
* @throws InvalidDataException
|
* @throws InvalidDataException
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user