From a72145bf5f72ca9568262425df0fa3942738af93 Mon Sep 17 00:00:00 2001 From: Jeremy Mikola Date: Wed, 9 Feb 2011 17:14:36 -0500 Subject: [PATCH] [HttpFoundation] Add array type-hint to Session::setAttributes() param --- src/Symfony/Component/HttpFoundation/Session.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Symfony/Component/HttpFoundation/Session.php b/src/Symfony/Component/HttpFoundation/Session.php index d5d311d8a2..c2dbe618b0 100644 --- a/src/Symfony/Component/HttpFoundation/Session.php +++ b/src/Symfony/Component/HttpFoundation/Session.php @@ -122,7 +122,7 @@ class Session implements \Serializable * * @param array $attributes Attributes */ - public function setAttributes($attributes) + public function setAttributes(array $attributes) { if (false === $this->started) { $this->start();