Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid try block just for checking $object->isa #712

Merged
merged 1 commit into from
Jun 22, 2024
Merged

Conversation

bbrtj
Copy link
Contributor

@bbrtj bbrtj commented Jun 22, 2024

This is a straightforward change to avoid using try { $object->isa(...) }. There are two other isa calls in code and they also use blessed and not try, so this makes the code base more consistent.

@miyagawa miyagawa merged commit fa47e35 into plack:master Jun 22, 2024
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.

2 participants