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