Bit-Wasp / bitcoin-php

Bitcoin implementation in PHP
The Unlicense
1.05k stars 419 forks source link

replace unsafe usage of new static() #822

Closed afk11 closed 4 years ago

afk11 commented 4 years ago

These were highlighted by a new phpstan rule - these calls are unsafe as the constructor isn't known in this context.