diff --git a/library/Director/Db/Branch/BranchedObject.php b/library/Director/Db/Branch/BranchedObject.php index d4eafcf4..8130137e 100644 --- a/library/Director/Db/Branch/BranchedObject.php +++ b/library/Director/Db/Branch/BranchedObject.php @@ -346,7 +346,7 @@ class BranchedObject public static function exists( Db $connection, - $table, + $table, UuidInterface $uuid, UuidInterface $branchUuid = null ) { diff --git a/library/Director/ProvidedHook/IcingaDbCubeLinks.php b/library/Director/ProvidedHook/IcingaDbCubeLinks.php index b2270df0..69178e14 100644 --- a/library/Director/ProvidedHook/IcingaDbCubeLinks.php +++ b/library/Director/ProvidedHook/IcingaDbCubeLinks.php @@ -22,7 +22,7 @@ class IcingaDbCubeLinks extends IcingadbHook */ public function prepareActionLinks(BaseCube $cube, View $view) { - if ( ! $cube instanceof HostCube) { + if (! $cube instanceof HostCube) { return; } @@ -46,7 +46,6 @@ class IcingaDbCubeLinks extends IcingadbHook $chosenHosts[0] ); } - } else { $params = null;