1 | <?php |
||
10 | class Mul extends AbstractExpressionCompiler |
||
11 | { |
||
12 | protected $name = 'PhpParser\Node\Expr\AssignOp\Mul'; |
||
13 | |||
14 | /** |
||
15 | * {left-expr} *= {right-expr} |
||
16 | * |
||
17 | * @param \PhpParser\Node\Expr\AssignOp\Mul $expr |
||
18 | * @param Context $context |
||
19 | * @return CompiledExpression |
||
20 | */ |
||
21 | 20 | protected function compile($expr, Context $context) |
|
44 | } |
||
45 |
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.