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

PHP 8.1 fix for ctype_digit() deprecated error #1040

Closed modevelops closed 1 year ago

modevelops commented 1 year ago

Fix for PHP 8.1 deprecated error: ctype_digit(): Argument of type int will be interpreted as string in the future in bshaffer/oauth2-server-php/src/OAuth2/GrantType/JwtBearer.php

see https://www.php.net/manual/en/function.ctype-digit.php