Conditions | 2 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | function execute($image, $request) |
||
21 | { |
||
22 | $width = $this->fields['width']->value; |
||
23 | $height = $this->fields['height']->value; |
||
24 | $left = $this->fields['left']->value; |
||
25 | $top = $this->fields['top']->value; |
||
26 | $color = $this->fields['color']->value; |
||
27 | $scale = $this->fields['scale']->value; |
||
28 | $merge = $this->fields['merge']->value; |
||
29 | |||
30 | return $image->resizeCanvas($width, $height, $left, $top, $color ? hexdec($color) : null, $scale, $merge); |
||
31 | } |
||
33 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.