mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 16:54:06 +02:00
Sync: fix typo, remove useless cast
This commit is contained in:
parent
956708475e
commit
ae45844bac
@ -367,13 +367,13 @@ class Sync
|
||||
|
||||
if ($listId === null) {
|
||||
throw new InvalidArgumentException(
|
||||
'Cannot sync datalist entry without list_ist'
|
||||
'Cannot sync datalist entry without list_id'
|
||||
);
|
||||
}
|
||||
|
||||
$no = [];
|
||||
foreach ($this->objects as $k => $o) {
|
||||
if ((int) $o->get('list_id') !== (int) $listId) {
|
||||
if ((int) $o->get('list_id') !== $listId) {
|
||||
$no[] = $k;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user