dotmailer / dotmailer-magento2-extension

The official Dotdigital for Magento2 extension
https://dotdigital.com/integrations/magento
MIT License
49 stars 63 forks source link

php version issue 7.0.6 #520

Closed almuete closed 6 years ago

almuete commented 6 years ago

Hi Simon,

We are using 7.0.6 php version. I found this issue in our magento registration and it popping this error please check screenshot below. When I check the code it pointing to this method:
private function compresString($templateText): string
screen shot 2018-07-26 at 5 51 37 pm

In addition to my investigation return type is supported in php 7.1 version

screen shot 2018-07-30 at 11 11 54 am

adeelq commented 6 years ago

@almuete Thanks for reporting this. We have included this issue in our current sprint.

almuete commented 6 years ago

Thank you adeelq.

simon-letch commented 6 years ago

Hey @almuete,

This has been fixed in v3.0.2.

Thanks, Simon