Skip to content

Commit

Permalink
Revert "Refactor RelativeResize param extraction in filter loader"
Browse files Browse the repository at this point in the history
This reverts commit 6226d0f.
  • Loading branch information
alexwilson committed Sep 9, 2016
1 parent 2fd426b commit 9f55b5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Imagine/Filter/Loader/RelativeResizeFilterLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class RelativeResizeFilterLoader implements LoaderInterface
*/
public function load(ImageInterface $image, array $options = array())
{
if (list($method, $parameter) = each($options)) {
foreach ($options as $method => $parameter) {
$filter = new RelativeResize($method, $parameter);

return $filter->apply($image);
Expand Down

0 comments on commit 9f55b5d

Please sign in to comment.