From 3d6ae6ac26022049ef4ed82714b968fd5a627d20 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Tue, 29 Mar 2016 11:18:36 +0200 Subject: [PATCH] Fix PHPDoc of User::setRestrictions() refs #10887 --- library/Icinga/User.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/library/Icinga/User.php b/library/Icinga/User.php index da5c37390..738df109e 100644 --- a/library/Icinga/User.php +++ b/library/Icinga/User.php @@ -237,13 +237,16 @@ class User } /** - * Settter for restrictions + * Set the user's restrictions * - * @param array $restrictions + * @param string[] $restrictions + * + * @return $this */ public function setRestrictions(array $restrictions) { $this->restrictions = $restrictions; + return $this; } /**