Skip to content

Commit

Permalink
[TASK] Avoid warning in TestDataProcessor
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed May 23, 2023
1 parent cc7d5ae commit 627f1b8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/Functional/Helpers/TestDataProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ public function process(ContentObjectRenderer $cObj, array $contentObjectConfigu
$postRepository = GeneralUtility::makeInstance(PostRepository::class);
$tagRepository = GeneralUtility::makeInstance(TagRepository::class);

if (!isset($processorConfiguration['data.'])) {
return $processedData;
}

$result = [];
foreach ($processorConfiguration['data.'] as $config) {
switch ($config['type']) {
Expand Down

0 comments on commit 627f1b8

Please sign in to comment.