mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 16:54:04 +02:00
Requirement: Fix exception throw
This commit is contained in:
parent
dae38414f8
commit
b755650256
@ -90,7 +90,7 @@ abstract class Requirement
|
|||||||
} elseif (method_exists($this, $addMethod)) {
|
} elseif (method_exists($this, $addMethod)) {
|
||||||
$this->$addMethod($value);
|
$this->$addMethod($value);
|
||||||
} else {
|
} else {
|
||||||
throw LogicException('No setter found for option key: ' . $key);
|
throw new LogicException('No setter found for option key: ' . $key);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user