Commit d84753bb authored by Nicolas Widart's avatar Nicolas Widart

Conforming to the interface

parent fac04c7f
......@@ -6,6 +6,8 @@ return [
'width' => '200',
'height' => '250'
],
'blur' => '15'
'blur' => [
'amount' => '15'
]
]
];
......@@ -12,6 +12,6 @@ class Blur implements ImageHandlerInterface
*/
public function handle($image, $options)
{
return $image->blur((int)$options);
return $image->blur($options['amount']);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment