mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-04-08 17:15:08 +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)
|
||||
{
|
||||
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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user