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()); }