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…
Reference in New Issue