Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function getPlugins(array $params): array |
||
20 | { |
||
21 | return [ |
||
|
|||
22 | StartPlugin::class, |
||
23 | TransferPlugin::class, |
||
24 | FormatPayloadBizContentPlugin::class, |
||
25 | AddPayloadSignaturePlugin::class, |
||
26 | AddRadarPlugin::class, |
||
27 | VerifySignaturePlugin::class, |
||
28 | ResponsePlugin::class, |
||
29 | ParserPlugin::class, |
||
30 | ]; |
||
33 |
In the issue above, the returned value is violating the contract defined by the mentioned interface.
Let's take a look at an example: