Skip to content

Commit

Permalink
PHP8.1 deprecation fix
Browse files Browse the repository at this point in the history
  • Loading branch information
DemigodCode committed May 4, 2022
1 parent cf7dc8a commit 4189c59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
}
],
"require": {
"php": ">=5.3.9"
"php": ">=8.1"
},
"require-dev": {
"phpunit/phpunit": "~4.8"
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ public function monitor()
/**
* {@inheritdoc}
*/
public function getIterator()
public function getIterator(): \Traversable
{
$clients = array();
$connection = $this->getConnection();
Expand Down

0 comments on commit 4189c59

Please sign in to comment.