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

API Set extension hook implementation visibility to protected #1190

Merged

Conversation

emteknetnz
Copy link
Member

*
* {@inheritDoc}
*/
public function updateSort()
Copy link
Member Author

Choose a reason for hiding this comment

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

This method is added so that Resolver.php can call it, previously it was calling onBeforeWrite() direclty

@emteknetnz emteknetnz force-pushed the pulls/6/protect-hooks branch from ab145f9 to d5842f9 Compare May 20, 2024 04:56
@emteknetnz emteknetnz force-pushed the pulls/6/protect-hooks branch from d5842f9 to 8e3649f Compare May 21, 2024 02:52
*/
public function onBeforeWrite()
public function ensureSortSet()
Copy link
Member Author

Choose a reason for hiding this comment

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

This method has been added so that Resolver.php can call it directly, previously it was calling onBeforeWrite() directly

Copy link
Member

@GuySartorelli GuySartorelli left a comment

Choose a reason for hiding this comment

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

LGTM

@GuySartorelli GuySartorelli merged commit 5892d44 into silverstripe:6 May 21, 2024
13 checks passed
@GuySartorelli GuySartorelli deleted the pulls/6/protect-hooks branch May 21, 2024 04:01
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