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

Iri::__construct(): allow $iri to be stringable #613

Merged
merged 1 commit into from
Nov 15, 2021

Conversation

jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 15, 2021

Follow up on #602

As the Iri::set_iri() method does a string cast before parsing the URL, the constructor should also allow for Stringable objects. The only change needed is for the string cast to be moved up to before the cache check is done.

Includes additional test.

Follow up on 602

As the `Iri::set_iri()` method does a sting cast before parsing the URL, the constructor should also allow for Stringable objects. The only change needed is for the string cast to be moved up to before the cache check is done.

Includes additional test.
@schlessera schlessera merged commit 23f4b4d into develop Nov 15, 2021
@schlessera schlessera deleted the feature/iri-allow-for-stringable branch November 15, 2021 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants