From e4be3c53b9e141c0f49d19b6c0a95571da201b4c Mon Sep 17 00:00:00 2001 From: MoreAmazingNick Date: Fri, 26 Jan 2024 17:12:16 +0100 Subject: [PATCH] fix/indistinguishable-suggestions-codestyle-427 --- library/Businessprocess/BpNode.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/library/Businessprocess/BpNode.php b/library/Businessprocess/BpNode.php index bf15a115..15da7108 100644 --- a/library/Businessprocess/BpNode.php +++ b/library/Businessprocess/BpNode.php @@ -370,6 +370,11 @@ public function getAlias() return $this->alias ? preg_replace('~_~', ' ', $this->alias) : $this->name; } + /** + * Get the label of the node + * + * @return ?string + */ public function getLabel() { return ($this->alias ?? $this->name)