Fix some PHP8.1 issues if possible

This commit is contained in:
Philipp
2022-11-09 23:16:12 +01:00
parent 3b03da3259
commit 477bec1977
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -130,7 +130,7 @@ class Page implements ArrayAccess
* The return value will be casted to boolean if non-boolean was returned.
* @since 5.0.0
*/
public function offsetExists($offset)
public function offsetExists($offset): bool
{
return isset($this->page[$offset]);
}