Skip to content

Commit

Permalink
TASK: compatibility with Neos 7
Browse files Browse the repository at this point in the history
  • Loading branch information
skurfuerst authored Apr 12, 2021
1 parent 01c8f9e commit 2c4ea09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/DataSource/ContentDataSource.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class ContentDataSource extends AbstractDataSource
* @param array $arguments
* @return array
*/
public function getData(NodeInterface $node = null, array $arguments)
public function getData(NodeInterface $node = null, array $arguments = [])
{
/** @var Content $content */
$content = $this->contentRepository->findOneByContentId($arguments['contentId']);
Expand Down

0 comments on commit 2c4ea09

Please sign in to comment.