Skip to content
Snippets Groups Projects
Commit 52d8800d authored by Vadim Justus's avatar Vadim Justus
Browse files

Fix type hint issue

parent e32bc184
No related branches found
No related tags found
No related merge requests found
......@@ -105,10 +105,10 @@ class PageNodesParser
PageEntryInterface::IDENTIFIER => $identifier,
PageEntryInterface::TITLE => $this->titleNodeParser->execute($node),
PageEntryInterface::IS_ACTIVE => $this->castBoolean(
$this->attributeValueParser->execute($node, 'active', null)
$this->attributeValueParser->execute($node, 'active', 'false')
),
PageEntryInterface::IS_MAINTAINED => $this->castBoolean(
(bool)$this->attributeValueParser->execute($node, 'maintained', null)
$this->attributeValueParser->execute($node, 'maintained', 'false')
),
PageEntryInterface::STORES => $stores,
PageEntryInterface::CONTENT => $this->contentNodeParser->execute($node),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment