Skip to content

Commit

Permalink
fix: layout can be null (pimcore#17780)
Browse files Browse the repository at this point in the history
  • Loading branch information
lukmzig authored Oct 28, 2024
1 parent 60a58bd commit ab4ec3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/DataObject/ClassDefinition/Layout/Panel.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public function setLayout(string $layout): static
return $this;
}

public function getLayout(): string
public function getLayout(): ?string
{
return $this->layout;
}
Expand Down

0 comments on commit ab4ec3f

Please sign in to comment.