Fixed CS
This commit is contained in:
parent
0cac9a11cf
commit
76258695c4
@ -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);
|
||||||
|
|
||||||
|
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user