From b0a75dd89bb6c7f494d8aee2d126271326198ff0 Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Mon, 10 Aug 2015 13:25:08 +0200 Subject: [PATCH] lib: Fix PHPDoc in ConfigObject --- library/Icinga/Data/ConfigObject.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/library/Icinga/Data/ConfigObject.php b/library/Icinga/Data/ConfigObject.php index de00e5b5e..230d7e979 100644 --- a/library/Icinga/Data/ConfigObject.php +++ b/library/Icinga/Data/ConfigObject.php @@ -173,8 +173,10 @@ class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess /** * Add a new property or section * - * @param string $key The name of the new property or section - * @param mixed $value The value to set for the new property or section + * @param string $key The name of the new property or section + * @param mixed $value The value to set for the new property or section + * + * @throws ProgrammingError If the key is null */ public function offsetSet($key, $value) { @@ -254,7 +256,7 @@ class ConfigObject extends ArrayDatasource implements Iterator, ArrayAccess /** * Merge the given data with this config * - * @param array|Config $data An array or a config + * @param array|ConfigObject $data An array or a config * * @return $this */