Cube, BranchedObject: formatting

This commit is contained in:
Thomas Gelf 2021-12-22 11:45:57 +01:00
parent c7cba433ed
commit a86c751c33
2 changed files with 2 additions and 3 deletions

View File

@ -346,7 +346,7 @@ class BranchedObject
public static function exists( public static function exists(
Db $connection, Db $connection,
$table, $table,
UuidInterface $uuid, UuidInterface $uuid,
UuidInterface $branchUuid = null UuidInterface $branchUuid = null
) { ) {

View File

@ -22,7 +22,7 @@ class IcingaDbCubeLinks extends IcingadbHook
*/ */
public function prepareActionLinks(BaseCube $cube, View $view) public function prepareActionLinks(BaseCube $cube, View $view)
{ {
if ( ! $cube instanceof HostCube) { if (! $cube instanceof HostCube) {
return; return;
} }
@ -46,7 +46,6 @@ class IcingaDbCubeLinks extends IcingadbHook
$chosenHosts[0] $chosenHosts[0]
); );
} }
} else { } else {
$params = null; $params = null;