source/Application/Controller/AccountReviewController.php
private function deleteReview()
    {
        $userId = $this->getUser()->getId();
        $reviewId = $this->getReviewIdFromRequest();

        if ($reviewId) {
            $userReviewBridge = $this->getContainer()->get(UserReviewBridgeInterface::class);
            $userReviewBridge->deleteReview($userId, $reviewId);
        }
    }
private function deleteReview()
    {
        $userId = $this->getUser()->getId();
        $reviewId = $this->getReviewIdFromRequest();

        if ($reviewId) {
            $userReviewBridge = $this->getContainer()->get(UserReviewBridgeInterface::class);
            $userReviewBridge->deleteReview($userId, $reviewId);
        }
    }
private function deleteReview ( ) { $ userId = $ this -> getUser ( ) -> getId ( ) ; $ reviewId = $ this -> getReviewIdFromRequest ( ) ; if ( $ reviewId ) { $ userReviewBridge = $ this -> getContainer ( ) -> get ( UserReviewBridgeInterface :: class ) ; $ userReviewBridge -> deleteReview ( $ userId , $ reviewId ) ; } }
Deletes Review.
Deletes Review .