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

FIX Allow public extension getter methods to work #10676

Conversation

GuySartorelli
Copy link
Member

This was accidentally broken in #10670. isAccessibleMethod now accounts for public methods added via extensions.

Parent issue

@@ -1,6 +1,6 @@
<?php

namespace SilverStripe\View\Tests;
namespace SilverStripe\View\Tests\ViewableDataTest;
Copy link
Member Author

Choose a reason for hiding this comment

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

I moved this to be consistent with other classes used in the ViewableDataTest

@emteknetnz emteknetnz merged commit 738ca48 into silverstripe:5 Feb 1, 2023
@emteknetnz emteknetnz deleted the pulls/5/allow-public-extension-methods branch February 1, 2023 03:05
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