From 73a4d8ac319f4358a681ee8f4a768a526d8cb058 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 14 Jan 2020 14:28:04 +0100 Subject: [PATCH] WebBaseHook: Make setView() fluent --- library/Icinga/Application/Hook/WebBaseHook.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/library/Icinga/Application/Hook/WebBaseHook.php b/library/Icinga/Application/Hook/WebBaseHook.php index b6a0a14b3..09e8f4fc3 100644 --- a/library/Icinga/Application/Hook/WebBaseHook.php +++ b/library/Icinga/Application/Hook/WebBaseHook.php @@ -24,10 +24,14 @@ class WebBaseHook * Set the view instance * * @param Zend_View $view + * + * @return $this */ public function setView(Zend_View $view) { $this->view = $view; + + return $this; } /**