Skip to content

Commit afd82bb

Browse files
Add missing context to node normalizer
1 parent 57f5bb8 commit afd82bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/PHPCR/Shell/Serializer/NodeNormalizer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ public function normalize($node, $format = null, array $context = []): ArrayObje
8585
/**
8686
* {@inheritdoc}
8787
*/
88-
public function supportsNormalization($data, $format = null): bool
88+
public function supportsNormalization($data, $format = null, array $context = []): bool
8989
{
9090
return is_object($data) && $data instanceof NodeInterface;
9191
}

0 commit comments

Comments
 (0)