Browse Source

[HttpFoundation] Add array type-hint to Session::setAttributes() param

Jeremy Mikola 14 years ago
parent
commit
a72145bf5f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Symfony/Component/HttpFoundation/Session.php

+ 1 - 1
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();