Skip to content

Commit

Permalink
TASK: Adjust to subscription engine
Browse files Browse the repository at this point in the history
  • Loading branch information
mhsdesign committed Nov 20, 2024
1 parent 4d5f514 commit fd0b0bc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions Classes/CatchUpHook/DocumentUriPathProjectionHook.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
use Neos\ContentRepository\Core\Feature\NodeModification\Event\NodePropertiesWereSet;
use Neos\ContentRepository\Core\Feature\NodeMove\Event\NodeAggregateWasMoved;
use Neos\ContentRepository\Core\Feature\NodeRemoval\Event\NodeAggregateWasRemoved;
use Neos\ContentRepository\Core\Projection\CatchUpHookInterface;
use Neos\ContentRepository\Core\Projection\CatchUpHook\CatchUpHookInterface;
use Neos\ContentRepository\Core\SharedModel\ContentRepository\ContentRepositoryId;
use Neos\ContentRepository\Core\SharedModel\Node\NodeAddress;
use Neos\ContentRepository\Core\SharedModel\Node\NodeAggregateId;
use Neos\ContentRepository\Core\Subscription\SubscriptionStatus;
use Neos\EventStore\Model\EventEnvelope;
use Neos\Neos\FrontendRouting\Exception\NodeNotFoundException;
use Neos\Neos\FrontendRouting\Projection\DocumentNodeInfo;
Expand All @@ -31,7 +32,7 @@ public function __construct(
) {
}

public function onBeforeCatchUp(): void
public function onBeforeCatchUp(SubscriptionStatus $subscriptionStatus): void

Check failure on line 35 in Classes/CatchUpHook/DocumentUriPathProjectionHook.php

View workflow job for this annotation

GitHub Actions / build (8.2)

Parameter $subscriptionStatus of method Neos\RedirectHandler\NeosAdapter\CatchUpHook\DocumentUriPathProjectionHook::onBeforeCatchUp() has invalid type Neos\ContentRepository\Core\Subscription\SubscriptionStatus.

Check failure on line 35 in Classes/CatchUpHook/DocumentUriPathProjectionHook.php

View workflow job for this annotation

GitHub Actions / build (8.3)

Parameter $subscriptionStatus of method Neos\RedirectHandler\NeosAdapter\CatchUpHook\DocumentUriPathProjectionHook::onBeforeCatchUp() has invalid type Neos\ContentRepository\Core\Subscription\SubscriptionStatus.
{
// Nothing to do here
}
Expand Down
6 changes: 3 additions & 3 deletions Classes/CatchUpHook/DocumentUriPathProjectionHookFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Neos\RedirectHandler\NeosAdapter\CatchUpHook;

use Neos\ContentRepository\Core\Projection\CatchUpHookFactoryDependencies;
use Neos\ContentRepository\Core\Projection\CatchUpHookFactoryInterface;
use Neos\ContentRepository\Core\Projection\CatchUpHookInterface;
use Neos\ContentRepository\Core\Projection\CatchupHook\CatchUpHookFactoryDependencies;
use Neos\ContentRepository\Core\Projection\CatchupHook\CatchUpHookFactoryInterface;
use Neos\ContentRepository\Core\Projection\CatchupHook\CatchUpHookInterface;
use Neos\Neos\FrontendRouting\Projection\DocumentUriPathFinder;
use Neos\RedirectHandler\NeosAdapter\Service\NodeRedirectService;

Expand Down

0 comments on commit fd0b0bc

Please sign in to comment.