From 177fafaa56a2c97894e75504eeacd2181671a16a Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 3 Aug 2015 11:05:48 +0200 Subject: [PATCH] lib: Fix TicketHook's PHPDoc refs #9611 --- library/Icinga/Web/Hook/TicketHook.php | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/library/Icinga/Web/Hook/TicketHook.php b/library/Icinga/Web/Hook/TicketHook.php index 265a0641e..74af1a91f 100644 --- a/library/Icinga/Web/Hook/TicketHook.php +++ b/library/Icinga/Web/Hook/TicketHook.php @@ -5,19 +5,13 @@ namespace Icinga\Web\Hook; use ErrorException; use Exception; -use Icinga\Application\Icinga; use Icinga\Application\Logger; use Icinga\Exception\IcingaException; /** - * Icinga Web Ticket Hook base class + * Base class for ticket hooks * - * Extend this class if you want to integrate your ticketing solution nicely into - * Icinga Web - * - * @copyright Copyright (c) 2013 Icinga-Web Team - * @author Icinga-Web Team - * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License + * Extend this class if you want to integrate your ticketing solution Icinga Web 2 */ abstract class TicketHook { @@ -29,10 +23,9 @@ abstract class TicketHook protected $lastError; /** - * Constructor must live without arguments right now + * Create a new ticket hook * - * Therefore the constructor is final, we might change our opinion about - * this one far day + * @see init() For hook initialization. */ final public function __construct() { @@ -40,7 +33,7 @@ abstract class TicketHook } /** - * Overwrite this function if you want to do some initialization stuff + * Overwrite this function for hook initialization, e.g. loading the hook's config */ protected function init() {