RequirementSet: Fix `sprintf` args

This commit is contained in:
Sukhwinder Dhillon 2023-08-16 11:11:44 +02:00 committed by raviks789
parent b755650256
commit 8cfc40affe
1 changed files with 1 additions and 1 deletions

View File

@ -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;