mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-07-12 09:56:52 +02:00
Fix spelling of VISIBILITY_MODIFIER_MASK
This commit is contained in:
@ -69,7 +69,7 @@ class ClassMethod extends Node\Stmt implements FunctionLike
|
||||
|
||||
public function isPublic() {
|
||||
return ($this->flags & Class_::MODIFIER_PUBLIC) !== 0
|
||||
|| ($this->flags & Class_::VISIBILITY_MODIFER_MASK) === 0;
|
||||
|| ($this->flags & Class_::VISIBILITY_MODIFIER_MASK) === 0;
|
||||
}
|
||||
|
||||
public function isProtected() {
|
||||
|
Reference in New Issue
Block a user