|
@@ -111,6 +111,7 @@ class Header implements \ArrayAccess, \IteratorAggregate, \Countable
|
|
|
*
|
|
*
|
|
|
* @return boolean
|
|
* @return boolean
|
|
|
*/
|
|
*/
|
|
|
|
|
+ #[\ReturnTypeWillChange]
|
|
|
public function offsetExists($offset)
|
|
public function offsetExists($offset)
|
|
|
{
|
|
{
|
|
|
$key = self::normalizeKey($offset);
|
|
$key = self::normalizeKey($offset);
|
|
@@ -122,6 +123,7 @@ class Header implements \ArrayAccess, \IteratorAggregate, \Countable
|
|
|
*
|
|
*
|
|
|
* @return string|null
|
|
* @return string|null
|
|
|
*/
|
|
*/
|
|
|
|
|
+ #[\ReturnTypeWillChange]
|
|
|
public function offsetGet($offset)
|
|
public function offsetGet($offset)
|
|
|
{
|
|
{
|
|
|
$key = self::normalizeKey($offset);
|
|
$key = self::normalizeKey($offset);
|
|
@@ -138,6 +140,7 @@ class Header implements \ArrayAccess, \IteratorAggregate, \Countable
|
|
|
*
|
|
*
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
|
|
+ #[\ReturnTypeWillChange]
|
|
|
public function offsetSet($offset, $value)
|
|
public function offsetSet($offset, $value)
|
|
|
{
|
|
{
|
|
|
$key = self::normalizeKey($offset);
|
|
$key = self::normalizeKey($offset);
|
|
@@ -151,6 +154,7 @@ class Header implements \ArrayAccess, \IteratorAggregate, \Countable
|
|
|
/**
|
|
/**
|
|
|
* @return void
|
|
* @return void
|
|
|
*/
|
|
*/
|
|
|
|
|
+ #[\ReturnTypeWillChange]
|
|
|
public function offsetUnset($offset)
|
|
public function offsetUnset($offset)
|
|
|
{
|
|
{
|
|
|
$key = self::normalizeKey($offset);
|
|
$key = self::normalizeKey($offset);
|
|
@@ -160,6 +164,7 @@ class Header implements \ArrayAccess, \IteratorAggregate, \Countable
|
|
|
/**
|
|
/**
|
|
|
* @return \ArrayIterator
|
|
* @return \ArrayIterator
|
|
|
*/
|
|
*/
|
|
|
|
|
+ #[\ReturnTypeWillChange]
|
|
|
public function getIterator()
|
|
public function getIterator()
|
|
|
{
|
|
{
|
|
|
$arr = array();
|
|
$arr = array();
|
|
@@ -172,6 +177,7 @@ class Header implements \ArrayAccess, \IteratorAggregate, \Countable
|
|
|
/**
|
|
/**
|
|
|
* @return int
|
|
* @return int
|
|
|
*/
|
|
*/
|
|
|
|
|
+ #[\ReturnTypeWillChange]
|
|
|
public function count()
|
|
public function count()
|
|
|
{
|
|
{
|
|
|
return count($this->data);
|
|
return count($this->data);
|