From 3e40ce056600f47592562bd6bf5c7c9f8d819c6b Mon Sep 17 00:00:00 2001 From: Fabien Bourigault Date: Tue, 5 Jan 2021 01:02:17 +0100 Subject: [PATCH] Add missing sprintf placeholder --- Imagine/Filter/RelativeResize.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Imagine/Filter/RelativeResize.php b/Imagine/Filter/RelativeResize.php index 918b7e27b..fde36bdaa 100644 --- a/Imagine/Filter/RelativeResize.php +++ b/Imagine/Filter/RelativeResize.php @@ -36,7 +36,7 @@ class RelativeResize implements FilterInterface public function __construct($method, $parameter) { if (!\in_array($method, ['heighten', 'increase', 'scale', 'widen'], true)) { - throw new InvalidArgumentException(sprintf('Unsupported method: ', $method)); + throw new InvalidArgumentException(sprintf('Unsupported method: %s', $method)); } $this->method = $method;