Skip to content

Commit

Permalink
Added default value for IsPreview view matcher
Browse files Browse the repository at this point in the history
Co-authored-by: Adam Wójs <adam@wojs.pl>
  • Loading branch information
alongosz and adamwojs authored Nov 6, 2023
1 parent 10132c3 commit 269f51f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/MVC/Symfony/Matcher/ContentBased/IsPreview.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/
final class IsPreview implements ViewMatcherInterface
{
private bool $isPreview;
private bool $isPreview = true;

/**
* @throws \Ibexa\Contracts\Core\Repository\Exceptions\InvalidArgumentException
Expand Down

0 comments on commit 269f51f

Please sign in to comment.