getAuthenticatingNamespaceObject* may return null as well
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user