Skip to content

Commit ede4625

Browse files
committed
fix: issue with non published content
1 parent 8f994f0 commit ede4625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/Value/Block.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct(
2121
bool $isVisible,
2222
BlockAttributesCollection $attributes,
2323
public readonly int $contentId,
24-
public readonly int $locationId,
24+
public readonly ?int $locationId,
2525
public readonly int $versionNo,
2626
public readonly string $languageCode,
2727
public readonly BlockValue $innerValue

0 commit comments

Comments
 (0)