mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2026-05-28 04:34:08 -04:00
LegacyConfigRenderer: make some helpers static
This commit is contained in:
parent
0b9e0a2d86
commit
e26daca0f4
1 changed files with 2 additions and 2 deletions
|
|
@ -197,7 +197,7 @@ class LegacyConfigRenderer
|
|||
* @param BpNode $node
|
||||
* @return string
|
||||
*/
|
||||
protected function renderDisplay(BpNode $node)
|
||||
public static function renderDisplay(BpNode $node)
|
||||
{
|
||||
if ($node->hasAlias() || $node->getDisplay() > 0) {
|
||||
$prio = $node->getDisplay();
|
||||
|
|
@ -216,7 +216,7 @@ class LegacyConfigRenderer
|
|||
* @param BpNode $node
|
||||
* @return string
|
||||
*/
|
||||
protected function renderInfoUrl(BpNode $node)
|
||||
public static function renderInfoUrl(BpNode $node)
|
||||
{
|
||||
if ($node->hasInfoUrl()) {
|
||||
return sprintf(
|
||||
|
|
|
|||
Loading…
Reference in a new issue