mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +02:00
RequirementSet: Fix sprintf
args
This commit is contained in:
parent
b755650256
commit
8cfc40affe
@ -130,7 +130,7 @@ class RequirementSet implements RecursiveIterator
|
|||||||
public function setMode($mode)
|
public function setMode($mode)
|
||||||
{
|
{
|
||||||
if ($mode !== static::MODE_AND && $mode !== static::MODE_OR) {
|
if ($mode !== static::MODE_AND && $mode !== static::MODE_OR) {
|
||||||
throw new LogicException(sprintf('Invalid mode %u given.'), $mode);
|
throw new LogicException(sprintf('Invalid mode %u given.', $mode));
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->mode = $mode;
|
$this->mode = $mode;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user