BpConfig::getNode(): Define exact return types in PhpDoc

- This fixes the IDE's issue `Call to an undefined method`, which is caused by the fact that the parent class `Node` does not contain all the methods defined in the child classes.
This commit is contained in:
Sukhwinder Dhillon 2023-08-14 11:19:01 +02:00
parent ae8e71106f
commit 598e9a1af0

View file

@ -631,7 +631,7 @@ class BpConfig
/**
* @param string $name
* @return Node
* @return MonitoredNode|BpNode
* @throws Exception
*/
public function getNode($name)