Skip to content

Commit

Permalink
fixup! fixup! IBX-6312: View matcher ParentContentType should not thr…
Browse files Browse the repository at this point in the history
…ow execption if parent is not available - fixed test
  • Loading branch information
vidarl committed Feb 7, 2024
1 parent 3ab0ce5 commit c530f82
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ class PreviewController
/** @var \eZ\Publish\Core\MVC\Symfony\View\CustomLocationControllerChecker */
private $controllerChecker;

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

public function __construct(
ContentService $contentService,
Expand All @@ -70,7 +71,7 @@ public function __construct(
PreviewLocationProvider $locationProvider,
CustomLocationControllerChecker $controllerChecker,
bool $debugMode,
?LoggerInterface $logger = null,
?LoggerInterface $logger = null
) {
$this->contentService = $contentService;
$this->locationService = $locationService;
Expand Down

0 comments on commit c530f82

Please sign in to comment.