simplito / elliptic-php

Fast, general Elliptic Curve Cryptography library. Supports curves used in Bitcoin, Ethereum and other cryptocurrencies (secp256k1, ed25519, ..)
MIT License
220 stars 52 forks source link

Prevents a warning in PHP 8.1 - Point class uses ReturnTypeWillChange attribute on jsonSerialize #41

Closed steven-hoffman-jomashop closed 2 years ago

steven-hoffman-jomashop commented 2 years ago

Adding mixed return type would require php 8.0

Fixes https://github.com/simplito/elliptic-php/issues/40