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 visibility of the method Controller::getAccessRules() #24

Merged
merged 1 commit into from
Oct 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion controllers/BookmarkController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class BookmarkController extends ContentContainerController
/**
* @inheritdoc
*/
public function getAccessRules()
protected function getAccessRules()
{
return [
[ControllerAccess::RULE_LOGGED_IN_ONLY => ['update']],
Expand Down
2 changes: 1 addition & 1 deletion controllers/SavedController.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class SavedController extends ContentContainerController
/**
* @inheritdoc
*/
public function getAccessRules()
protected function getAccessRules()
{
return [
[ControllerAccess::RULE_LOGGED_IN_ONLY => ['index']],
Expand Down
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Changelog
- Fix: Translation category for 'You didn\'t save any content yet!'
- Enh: Improvement and addition of French translations
- Enh #23: Tests for `next` version
- Fix #24: Fix visibility of the method `Controller::getAccessRules()`


1.0.1 (June 13, 2021)
Expand Down
Loading