Skip to content

Commit

Permalink
TASK: Behat make When using the following node types: work with emp…
Browse files Browse the repository at this point in the history
…ty definition
  • Loading branch information
mhsdesign committed Oct 25, 2023
1 parent de3eddb commit 5d7f9dc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public function build(ContentRepositoryId $contentRepositoryId, array $options):
public static function initializeWithPyStringNode(PyStringNode $nodeTypesToUse): void
{
self::$nodeTypesToUse = new NodeTypeManager(
fn (): array => Yaml::parse($nodeTypesToUse->getRaw()),
fn (): array => Yaml::parse($nodeTypesToUse->getRaw()) ?? [],
new class implements NodeLabelGeneratorFactoryInterface {
public function create(NodeType $nodeType): NodeLabelGeneratorInterface
{
Expand Down

0 comments on commit 5d7f9dc

Please sign in to comment.