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)