From 993218f21dc0e4550e49dbdaa1d72450f94697f2 Mon Sep 17 00:00:00 2001 From: Lukas Rosenstock Date: Fri, 12 Jun 2026 17:52:55 +0000 Subject: [PATCH] getAuthenticatingNamespaceObject* may return null as well --- CloudObjects/SDK/ObjectRetriever.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CloudObjects/SDK/ObjectRetriever.php b/CloudObjects/SDK/ObjectRetriever.php index 8ac6eb0..c19aa4d 100644 --- a/CloudObjects/SDK/ObjectRetriever.php +++ b/CloudObjects/SDK/ObjectRetriever.php @@ -536,7 +536,7 @@ class ObjectRetriever implements CustomCacheAndLogInterface { * @deprecated Use getAuthenticatingNamespaceObjectNode() instead * @return Node */ - public function getAuthenticatingNamespaceObject() : Node { + public function getAuthenticatingNamespaceObject() : ?Node { return $this->getObject($this->assertAuthenticatingNamespaceAndGetId()); } @@ -546,7 +546,7 @@ class ObjectRetriever implements CustomCacheAndLogInterface { * * @return Node */ - public function getAuthenticatingNamespaceObjectNode() : Node { + public function getAuthenticatingNamespaceObjectNode() : ?Node { return $this->getObject($this->assertAuthenticatingNamespaceAndGetId()); } @@ -556,7 +556,7 @@ class ObjectRetriever implements CustomCacheAndLogInterface { * * @return CloudObject */ - public function getAuthenticatingNamespaceCloudObject() : CloudObject { + public function getAuthenticatingNamespaceCloudObject() : ?CloudObject { return $this->getCloudObject($this->assertAuthenticatingNamespaceAndGetId()); }