contributte / thepay

:dollar: ThePay integration for Nette Framework

Home Page:https://contributte.org/packages/contributte/thepay.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compability with php 7.2

hajek-raven opened this issue · comments

Hi, can you submit more info?

We already use it on PHP 7.2

There are some incompabilities in Payment and ReturnedPayment.
For example:
public function setReturnUrl(string $returnUrl, array $params = []) : void
in Trejjam\ThePay\Payment is not compatible with parent class (has more parameters).

Yes, it has more parameters. But it is not incompatibility on language or parent library level.

This library in master has minimal PHP version 7.1, you can view a valid response here: https://3v4l.org/uD31C

This library is an extension for Nette so this parameter extending allow construct URL in framework way, but it should allow passing valid URL to parent class as well.
If you think this is not true, feel free to pass some failing examples.