mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-17 17:55:42 +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 */
|
||||
foreach ($watchList->getDomains()->getIterator() as $domain) {
|
||||
foreach ($domain->getEvents() as $event) {
|
||||
$domain->addEvent($event);
|
||||
foreach ($domain->getDomainCalendarEvents() as $event) {
|
||||
$calendar->addEvent($event);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -608,6 +608,8 @@ class Domain
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Event[]
|
||||
*
|
||||
* @throws ParseException
|
||||
* @throws EofException
|
||||
* @throws InvalidDataException
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user