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

This commit is contained in:
Jeremy Mikola 2011-02-09 17:14:36 -05:00 committed by Fabien Potencier
parent e58a84eb09
commit a72145bf5f

View File

@ -122,7 +122,7 @@ class Session implements \Serializable
* *
* @param array $attributes Attributes * @param array $attributes Attributes
*/ */
public function setAttributes($attributes) public function setAttributes(array $attributes)
{ {
if (false === $this->started) { if (false === $this->started) {
$this->start(); $this->start();