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

Use type hints and return types in ResourceOwnerMapInterface #1773

Merged
merged 1 commit into from Aug 3, 2021

Conversation

XWB
Copy link
Member

@XWB XWB commented Aug 3, 2021

No description provided.

@XWB XWB requested a review from stloyd August 3, 2021 08:47
@stloyd
Copy link
Collaborator

stloyd commented Aug 3, 2021

I was thinking about this... but this is quite huge BC break that will affect everyone who have own resource owner implementation.

@XWB
Copy link
Member Author

XWB commented Aug 3, 2021

That's a valid argument, although the change itself is pretty small. Most people probably don't have multiple custom resource owners, so it should be a low effort to update the code.

Copy link
Collaborator

@stloyd stloyd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@XWB We need to note the BC break in changelog for sure.

Security/Http/ResourceOwnerMap.php Outdated Show resolved Hide resolved
Security/Http/ResourceOwnerMap.php Outdated Show resolved Hide resolved
Security/Http/ResourceOwnerMap.php Outdated Show resolved Hide resolved
Security/Http/ResourceOwnerMapInterface.php Outdated Show resolved Hide resolved
@stloyd stloyd added this to the 2.0 - Game changer milestone Aug 3, 2021
@XWB XWB force-pushed the update-resource-owner-map branch from b2de48d to 66fa03d Compare August 3, 2021 09:52
@XWB
Copy link
Member Author

XWB commented Aug 3, 2021

@stloyd All done, and I also added PHP 7.4 typed properties.

@stloyd stloyd merged commit e61c49c into hwi:master Aug 3, 2021
@stloyd
Copy link
Collaborator

stloyd commented Aug 3, 2021

@XWB Merged! Thanks :)

@XWB XWB deleted the update-resource-owner-map branch August 3, 2021 11:40
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.

None yet

2 participants