Skip to content

Commit

Permalink
TASK: fix neos 9 compat
Browse files Browse the repository at this point in the history
  • Loading branch information
skurfuerst committed Oct 26, 2023
1 parent 95b609d commit 01268ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Classes/DataSource/GroupsDataSource.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php
namespace Sandstorm\CookiePunch\DataSource;

use Neos\ContentRepository\Core\Projection\ContentGraph\Node;
use Neos\Flow\Annotations as Flow;
use Neos\ContentRepository\Domain\Model\NodeInterface;
use Neos\Neos\Service\DataSource\AbstractDataSource;
use Sandstorm\CookiePunch\Eel\Helper\CookiePunchConfig;

Expand All @@ -18,7 +18,7 @@ class GroupsDataSource extends AbstractDataSource
*/
protected $services;

public function getData(NodeInterface $node = null, array $arguments = [])
public function getData(Node $node = null, array $arguments = [])
{
$CookiePunchConfig = new CookiePunchConfig();
$options = [];
Expand Down
1 change: 0 additions & 1 deletion Classes/Eel/Helper/CookiePunchConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
use Neos\Eel\ProtectedContextAwareInterface;
use Neos\Eel\Utility as EelUtility;
use Neos\Eel\CompilingEvaluator;
use Neos\ContentRepository\Domain\Model\NodeInterface;

class CookiePunchConfig implements ProtectedContextAwareInterface
{
Expand Down

0 comments on commit 01268ab

Please sign in to comment.