Fix some PHP8.1 issues if possible
This commit is contained in:
+1
-1
@@ -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]);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user