Skip to content

Commit

Permalink
fix phpstan issues
Browse files Browse the repository at this point in the history
  • Loading branch information
solverat committed Jan 6, 2025
1 parent 4473414 commit 3bf6ddc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion src/EventListener/PimcoreElementListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ public function onObjectPostUpdate(DataObjectEvent $event): void
return;
}

/** @var ElementInterface $object */
$object = $event->getObject();

// @deprecated since 5.0: published/unpublished must be handled by project-specific resource validation
Expand Down
2 changes: 1 addition & 1 deletion src/Processor/OutputChannelProcessor.php
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ protected function buildMulti(
$subOutputChannelIdentifier = $searchContainer->getIdentifier();

$filter = $filters[$subOutputChannelIdentifier];
/** @var OutputChannelContext $subOutputChannelContext */
/** @var SubOutputChannelContext $subOutputChannelContext */
$subOutputChannelContext = $subContexts[$subOutputChannelIdentifier];

if (!array_key_exists($subOutputChannelIdentifier, $outputChannelBlocks)) {
Expand Down

0 comments on commit 3bf6ddc

Please sign in to comment.