diff --git a/composer.json b/composer.json index 045afa8..bf6b29d 100644 --- a/composer.json +++ b/composer.json @@ -21,7 +21,7 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", "phpstan/extension-installer": "^1.3.1", - "phpstan/phpstan": "^1.10.55", + "phpstan/phpstan": "^1.10.56", "phpstan/phpstan-deprecation-rules": "^1.1.4", "phpstan/phpstan-strict-rules": "^1.5.2", "rector/rector": "^0.18.13", diff --git a/src/Document/DocumentNormalizerTrait.php b/src/Document/DocumentNormalizerTrait.php index f904aa1..b0a5d8b 100644 --- a/src/Document/DocumentNormalizerTrait.php +++ b/src/Document/DocumentNormalizerTrait.php @@ -86,7 +86,7 @@ protected function editableRelation( fn (Concrete $obj): int => $obj->getId(), $contents ->getChildren([AbstractObject::OBJECT_TYPE_OBJECT]) - ->getData()??[] + ->getData() ?? [] ) );