1 | <?php namespace Modules\Media\Image\Intervention\Manipulations; |
||
5 | class Trim implements ImageHandlerInterface |
||
6 | { |
||
7 | private $defaults = [ |
||
8 | 'base' => 'top-left', |
||
9 | 'away' => ['top', 'bottom', 'left', 'right'], |
||
10 | 'tolerance' => 0, |
||
11 | 'feather' => 0, |
||
12 | ]; |
||
13 | |||
14 | /** |
||
15 | * Handle the image manipulation request |
||
16 | * @param \Intervention\Image\Image $image |
||
17 | * @param array $options |
||
18 | * @return \Intervention\Image\Image |
||
19 | */ |
||
20 | public function handle($image, $options) |
||
26 | } |
||
27 |
This check looks for function calls that miss required arguments.