Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Konrad Oboza <[email protected]>
  • Loading branch information
vidarl and konradoboza authored Nov 27, 2024
1 parent 025414d commit e20a743
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/lib/MVC/Symfony/Controller/Content/PreviewController.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ class PreviewController
/** @var \Ibexa\Core\MVC\Symfony\View\CustomLocationControllerChecker */
private $controllerChecker;

/** @var bool */
private $debugMode;
private bool $debugMode;

public function __construct(
ContentService $contentService,
Expand Down Expand Up @@ -204,7 +203,7 @@ protected function getForwardRequest(
}

/**
* @throws \Ibexa\Core\Base\Exceptions\BadStateException
* @throws \Ibexa\Contracts\Core\Repository\Exceptions\BadStateException
*/
private function buildResponseForGenericPreviewError(Location $location, Content $content, Exception $e): Response
{
Expand Down

0 comments on commit e20a743

Please sign in to comment.