Skip to content

Commit cba4e09

Browse files
committed
Fixed issue with PHP 7.4 where cssdoc::offsetGet() had an argument with the wrong type.
1 parent 4085906 commit cba4e09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cssdoc.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ public function offsetUnset($i) : void {
284284
* @param string|integer $i The key to be accessed, can be a string or integer
285285
* @return mixed The requested value or null if the key doesn't exist
286286
*/
287-
public function offsetGet(mixed $i) : mixed { // return reference so you can set it like an array
287+
public function offsetGet($i) : mixed { // return reference so you can set it like an array
288288
return $this->document->rules[$i] ?? null;
289289
}
290290

0 commit comments

Comments
 (0)