unsplash-php icon indicating copy to clipboard operation
unsplash-php copied to clipboard

Fix PHP 8.2: Creation of dynamic property Unsplash\ArrayObject::$page…

Open ianchadwick opened this issue 4 months ago • 0 comments

As of PHP 8.2 the dynamic creation of properties results in a deprecation message:

Creation of dynamic property Unsplash\ArrayObject::$pagesProcessed is deprecated in unsplash/unsplash/src/ArrayObject.php on line 148

This PR fixes that by declaring the $pagesProcessed property.

ianchadwick avatar Sep 28 '24 00:09 ianchadwick