From 8cfc40affe81aaf777b6f4113ab536a6146d6857 Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Wed, 16 Aug 2023 11:11:44 +0200 Subject: [PATCH] RequirementSet: Fix `sprintf` args --- modules/setup/library/Setup/RequirementSet.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/setup/library/Setup/RequirementSet.php b/modules/setup/library/Setup/RequirementSet.php index 672fad454..0baf4c019 100644 --- a/modules/setup/library/Setup/RequirementSet.php +++ b/modules/setup/library/Setup/RequirementSet.php @@ -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;