We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | public static function renderStatic(array $arguments, \Closure $renderChildrenClosure, RenderingContextInterface $renderingContext) |
||
| 25 | { |
||
| 26 | $parser = GeneralUtility::makeInstance(TypoScriptParser::class); |
||
| 27 | $parser->parse($renderChildrenClosure()); |
||
| 28 | return [ |
||
|
|
|||
| 29 | 'key' => $parser->setup['key.'], |
||
| 30 | 'value' => $parser->setup['value.'], |
||
| 31 | 'all' => $parser->setup['all.'], |
||
| 32 | ]; |
||
| 35 |
In the issue above, the returned value is violating the contract defined by the mentioned interface.
Let's take a look at an example: