Skip to content

Commit c2b5e9f

Browse files
committed
cs-fix
1 parent f139988 commit c2b5e9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/State/ActivityRemoveProcessor.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ public function onBefore($data, Operation $operation, array $uriVariables = [],
2828
// However, this currently runs into an error due to https://github.com/doctrine-extensions/DoctrineExtensions/issues/2510
2929
$this->em->remove($data->rootContentNode);
3030

31+
/** @var Comment[] $data->comments */
3132
foreach ($data->comments as $comment) {
32-
/** @var Comment $comment */
3333
$comment->orphanDescription = $comment->activity->title;
3434
$comment->activity->removeComment($comment);
3535
}

0 commit comments

Comments
 (0)