Skip to content

Commit 0df8140

Browse files
Fix compatibility
1 parent 80ec380 commit 0df8140

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/PHPCR/Shell/Serializer/NodeNormalizer.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ public function getNotes()
4242
/**
4343
* {@inheritdoc}
4444
*/
45-
public function normalize($node, $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null
45+
public function normalize($object, $format = null, array $context = []): ArrayObject|array|string|int|float|bool|null
4646
{
4747
$res = [];
4848

49-
foreach ($node->getProperties() as $property) {
49+
foreach ($object->getProperties() as $property) {
5050
if (false === $this->isPropertyEditable($property)) {
5151
continue;
5252
}

0 commit comments

Comments
 (0)