Hi,
I have been trying to update from an old version of AdWords (2016). I am currently getting an error :
Parse error: syntax error, unexpected ':', expecting ';' or '{' in googleads-php-lib/vendor/symfony/serializer/Normalizer/GetSetMethodNormalizer.php on line 59
I took a look at the file and here is the line causing the error :
private function supports(string $class): bool
From what I could gather, the problem is the " : bool " part and my IDE told me something that might be the problem : Return type declaration is available in PHP 7 only. I am currently using PHP 5.4 and was wondering if it was required to have PHP 7 to use the API, as I thought I saw somewhere the API was compatible with 5.4 or newer. Is there any option besides upgrading my PHP version? I installed the lib using Composer.
Thank you!
Mathieu