From 18b825a24b025d3e4ede35649ef272e9840b47c0 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 25 Mar 2014 13:24:06 +0100 Subject: [PATCH] Add missing keyword "new" in class SessionNamespace --- library/Icinga/Web/Session/SessionNamespace.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Icinga/Web/Session/SessionNamespace.php b/library/Icinga/Web/Session/SessionNamespace.php index 5b1d74068..9c49c3f63 100644 --- a/library/Icinga/Web/Session/SessionNamespace.php +++ b/library/Icinga/Web/Session/SessionNamespace.php @@ -52,7 +52,7 @@ class SessionNamespace implements IteratorAggregate */ public function getIterator() { - return ArrayIterator($this->values); + return new ArrayIterator($this->values); } /**