Skip to content

Commit

Permalink
Merge pull request #1339 from fbourigault/missing-sprintf-placeholder
Browse files Browse the repository at this point in the history
Add missing sprintf placeholder
  • Loading branch information
lsmith77 authored Jan 5, 2021
2 parents dcf8300 + 3e40ce0 commit ece80b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Imagine/Filter/RelativeResize.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ece80b3

Please sign in to comment.