As stated in the documetation:

All methods and properties of classes must specify their visibility: public, protected, or private.

CommentFileSizeAuthor
#2 class_method_scope_modifiers-2854646-2.patch460 bytesChi
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Chi created an issue. See original summary.

Chi’s picture

Issue summary: View changes
Status: Active » Needs review
FileSize
460 bytes
alexpott’s picture

Status: Needs review » Reviewed & tested by the community

+1

Thanks for creating the issue @Chi.

klausi’s picture

Status: Reviewed & tested by the community » Closed (works as designed)

That is already implemented as Drupal.Scope.MethodScope. Please test!

Chi’s picture

Drupal.Scope.MethodScope works for me.