Total Complexity | 5 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | class DescriptionEventBlockService extends AbstractBlockService |
||
17 | { |
||
18 | /** |
||
19 | * {@inheritdoc} |
||
20 | */ |
||
21 | public function execute(BlockContextInterface $blockContext, Response $response = null) |
||
44 | } |
||
45 | |||
46 | /** |
||
47 | * {@inheritdoc} |
||
48 | */ |
||
49 | public function configureSettings(OptionsResolver $resolver) |
||
58 |
In the issue above, the returned value is violating the contract defined by the mentioned interface.
Let's take a look at an example: