Skip to content

Commit

Permalink
Merge pull request #27 from mix-php/master
Browse files Browse the repository at this point in the history
Compatible php8.1
  • Loading branch information
lukasoppermann authored Dec 6, 2021
2 parents 116dc83 + 9a4ff5b commit 3dfb178
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Httpstatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public function __construct($statusArray = [])
/**
* {@inheritdoc}
*/
#[\ReturnTypeWillChange]
public function count()
{
return count($this->httpStatus);
Expand All @@ -55,6 +56,7 @@ public function count()
/**
* {@inheritdoc}
*/
#[\ReturnTypeWillChange]
public function getIterator()
{
return new ArrayIterator($this->httpStatus);
Expand Down

0 comments on commit 3dfb178

Please sign in to comment.