1 | <?php |
||
17 | class Flip implements ToolInterface |
||
18 | { |
||
19 | /** |
||
20 | * Handle image |
||
21 | * |
||
22 | * @param ManipulatorInterface $image |
||
23 | * @param array $params |
||
24 | * |
||
25 | * @return ManipulatorInterface |
||
26 | * |
||
27 | * @throws Exception |
||
28 | */ |
||
29 | public static function handle(ManipulatorInterface $image, array $params = []): ManipulatorInterface |
||
47 | } |
||
48 |
The break statement is not necessary if it is preceded for example by a return statement:
If you would like to keep this construct to be consistent with other case statements, you can safely mark this issue as a false-positive.