Skip to content

Commit

Permalink
♻️ newer PHP adds different return types so phpstan is mad
Browse files Browse the repository at this point in the history
  • Loading branch information
willpower232 committed Feb 16, 2023
1 parent 762a410 commit 65a29f1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/ListResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ public function rewind() : void
* Get the current page
* @return array
*/
#[\ReturnTypeWillChange]
public function current()
{
return $this->currentRecordSet[$this->key()];
Expand Down

0 comments on commit 65a29f1

Please sign in to comment.