From 598e9a1af04a92e6e976634e88a00c0c55e9fc0c Mon Sep 17 00:00:00 2001 From: Sukhwinder Dhillon Date: Mon, 14 Aug 2023 11:19:01 +0200 Subject: [PATCH] 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. --- library/Businessprocess/BpConfig.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Businessprocess/BpConfig.php b/library/Businessprocess/BpConfig.php index 2379cb4..c9e70fd 100644 --- a/library/Businessprocess/BpConfig.php +++ b/library/Businessprocess/BpConfig.php @@ -631,7 +631,7 @@ class BpConfig /** * @param string $name - * @return Node + * @return MonitoredNode|BpNode * @throws Exception */ public function getNode($name)