This commit is contained in:
Pascal Borreli 2013-07-21 00:31:00 +01:00
parent 0cac9a11cf
commit 76258695c4
8 changed files with 8 additions and 8 deletions

View File

@ -266,7 +266,7 @@ class ParameterBag implements \IteratorAggregate, \Countable
* *
* @return mixed * @return mixed
*/ */
public function filter($key, $default = null, $deep = false, $filter=FILTER_DEFAULT, $options=array()) public function filter($key, $default = null, $deep = false, $filter = FILTER_DEFAULT, $options = array())
{ {
$value = $this->get($key, $default, $deep); $value = $this->get($key, $default, $deep);

View File

@ -76,7 +76,7 @@ class FlashBag implements FlashBagInterface, \IteratorAggregate
/** /**
* {@inheritdoc} * {@inheritdoc}
*/ */
public function peek($type, array $default =array()) public function peek($type, array $default = array())
{ {
return $this->has($type) ? $this->flashes[$type] : $default; return $this->has($type) ? $this->flashes[$type] : $default;
} }

View File

@ -51,7 +51,7 @@ class CookieTest extends \PHPUnit_Framework_TestCase
*/ */
public function testInvalidExpiration() public function testInvalidExpiration()
{ {
$cookie = new Cookie('MyCookie', 'foo','bar'); $cookie = new Cookie('MyCookie', 'foo', 'bar');
} }
/** /**