Skip to content

Commit 80ec380

Browse files
Add missing getSupportedTypes
1 parent 4a39311 commit 80ec380

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/PHPCR/Shell/Serializer/NodeNormalizer.php

+7
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,13 @@ public function normalize($node, $format = null, array $context = []): ArrayObje
8282
return $res;
8383
}
8484

85+
public function getSupportedTypes(?string $format): array
86+
{
87+
return [
88+
NodeInterface::class => true,
89+
];
90+
}
91+
8592
/**
8693
* {@inheritdoc}
8794
*/

0 commit comments

Comments
 (0)