Skip to content

Commit

Permalink
Test PHP 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
aimeos committed Dec 19, 2021
1 parent 76adae9 commit 059b73d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ jobs:
- "7.3"
- "7.4"
- "8.0"

- "8.1"

steps:
- uses: actions/checkout@v2

Expand Down
2 changes: 1 addition & 1 deletion src/Map.php
Original file line number Diff line number Diff line change
Expand Up @@ -2276,7 +2276,7 @@ public function nth( int $step, int $offset = 0 ) : self
* @param int|string $key Key to check for
* @return bool TRUE if key exists, FALSE if not
*/
public function offsetExists( $key )
public function offsetExists( $key ) : bool
{
return isset( $this->list[$key] );
}
Expand Down

0 comments on commit 059b73d

Please sign in to comment.