pmill / aws-cognito

A PHP library for AWS Cognito user pools
MIT License
74 stars 62 forks source link

Why get_class in exception ? #22

Open agung-wete opened 5 years ago

agung-wete commented 5 years ago

https://github.com/pmill/aws-cognito/blob/642fecec9c32fb7f0531e440b1c461b37f5096ae/src/Exception/CognitoResponseException.php#L16

Why not get_called_class() ? with get_class() result is always CognitoResponseException

pmill commented 5 years ago

Hello, would you be able to submit a PR with a fix?