projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
vendor
/
symfony
/
http-foundation
/
Session
/
Attribute
/
AttributeBag.php
diff --git
a/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php
b/vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php
index af292e37a4fe47cfff65e7bc995f23371035e626..fc5fb14101b29099c44c499437b790699a7b9dbd 100644
(file)
--- a/
vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php
+++ b/
vendor/symfony/http-foundation/Session/Attribute/AttributeBag.php
@@
-17,20
+17,11
@@
namespace Symfony\Component\HttpFoundation\Session\Attribute;
class AttributeBag implements AttributeBagInterface, \IteratorAggregate, \Countable
{
private $name = 'attributes';
class AttributeBag implements AttributeBagInterface, \IteratorAggregate, \Countable
{
private $name = 'attributes';
-
- /**
- * @var string
- */
private $storageKey;
private $storageKey;
- /**
- * @var array
- */
protected $attributes = array();
/**
protected $attributes = array();
/**
- * Constructor.
- *
* @param string $storageKey The key used to store attributes in the session
*/
public function __construct($storageKey = '_sf2_attributes')
* @param string $storageKey The key used to store attributes in the session
*/
public function __construct($storageKey = '_sf2_attributes')
@@
-152,6
+143,6
@@
class AttributeBag implements AttributeBagInterface, \IteratorAggregate, \Counta
*/
public function count()
{
*/
public function count()
{
- return count($this->attributes);
+ return
\
count($this->attributes);
}
}
}
}