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;