bshaffer / oauth2-server-php

A library for implementing an OAuth2 Server in php
http://bshaffer.github.io/oauth2-server-php-docs
MIT License
3.26k stars 950 forks source link

Fix PHP 8.1 deprecation error #1021

Closed snapshotpl closed 2 years ago

snapshotpl commented 2 years ago

Found when test on PHP 8.1 here https://github.com/laminas-api-tools/api-tools-oauth2/runs/6385928373?check_suite_focus=true#step:3:677

snapshotpl commented 2 years ago

@bshaffer Can you look at?