Skip to content

Commit

Permalink
Merge pull request #21 from ryanscherler/fix/array-access
Browse files Browse the repository at this point in the history
Fix compatibility issue with PHP 8.2 array access function signature.
  • Loading branch information
giorgiopogliani authored Jan 23, 2023
2 parents 8f9c806 + b05308a commit f13a7a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/View/ComponentAttributeBag.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public function offsetExists($offset): bool
* @param string $offset
* @return mixed
*/
public function offsetGet($offset)
public function offsetGet($offset): mixed
{
return $this->get($offset);
}
Expand Down

0 comments on commit f13a7a2

Please sign in to comment.