gettyimages/gettyimages-api_php

Deprecation warning: Optional parameter declared before required parameter in WebHelper

mtreuberg opened this issue · 1 comments

Using the library in Version "gettyimages/gettyimages-api": "^5.1" triggers deprecation warnings like this:

PHP Deprecated:  Optional parameter $options declared before required parameter $filepath is implicitly treated as a required parameter in /[...]/vendor/gettyimages/gettyimages-api/src/Request/WebHelper.php on line 104

I already opened a PR to fix it: #26

Fixed by #26