getAuthenticatingNamespaceObject* may return null as well

This commit is contained in:
2026-06-12 17:52:55 +00:00
parent aa37259a21
commit 993218f21d

View File

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