IsraelOrtuno / pipedrive

Complete Pipedrive API client for PHP
MIT License
166 stars 58 forks source link

Dynamic Property Deprecated for PHP v 8.2 #124

Closed poethrenoff closed 1 year ago

poethrenoff commented 1 year ago

With PHP Version 8.2.0 I get an error:

Deprecated: Creation of dynamic property Devio\Pipedrive\Http\Request::$builder is deprecated

on this line

https://github.com/IsraelOrtuno/pipedrive/blob/master/src/Http/Request.php#L33

Obviously, you need to declare property $builder in class Devio\Pipedrive\Http\Request.

Environment details

Thanks!

IsraelOrtuno commented 1 year ago

Thanks! Could you submit a PR?