Skip to content

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

Open
ianchadwick wants to merge 1 commit intounsplash:masterfrom
ianchadwick:patch-1
Open

Fix PHP 8.2: Creation of dynamic property Unsplash\ArrayObject::$page…#138
ianchadwick wants to merge 1 commit intounsplash:masterfrom
ianchadwick:patch-1

Conversation

@ianchadwick
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant