Conditions | 4 |
Paths | 3 |
Total Lines | 12 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 7 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
28 | public function endOfRendering(array $params, TypoScriptFrontendController $obj) |
||
|
|||
29 | { |
||
30 | if (!isset($obj->config['config']['newsletterPostprocessing.']) || !is_array($obj->config['config']['newsletterPostprocessing.'])) { |
||
31 | return; |
||
32 | } |
||
33 | |||
34 | foreach ($obj->config['config']['newsletterPostprocessing.'] as $postprocessorClass) { |
||
35 | /** @var PostprocessingInterface $processor */ |
||
36 | $processor = GeneralUtility::makeInstance($postprocessorClass); |
||
37 | $obj->content = $processor->process($obj->content); |
||
38 | } |
||
39 | } |
||
40 | } |
||
41 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.