Skip to content

Comments

Add is_object() on DowngradeInstanceofStringableRector when possibly not object type#276

Merged
samsonasik merged 2 commits intomainfrom
is-object
May 10, 2025
Merged

Add is_object() on DowngradeInstanceofStringableRector when possibly not object type#276
samsonasik merged 2 commits intomainfrom
is-object

Conversation

@samsonasik
Copy link
Member

The method_exists() can pass string value on first argument, see different https://3v4l.org/7prLj so is_object() is needed.

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit 9d2e956 into main May 10, 2025
6 checks passed
@samsonasik samsonasik deleted the is-object branch May 10, 2025 14:49
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