const MODIFIER_ABSTRACT = 16;
const MODIFIER_FINAL = 32;
- const VISIBILITY_MODIFER_MASK = 7; // 1 | 2 | 4
+ const VISIBILITY_MODIFIER_MASK = 7; // 1 | 2 | 4
+ /** @deprecated */
+ const VISIBILITY_MODIFER_MASK = self::VISIBILITY_MODIFIER_MASK;
/** @var int Type */
public $flags;
* @internal
*/
public static function verifyModifier($a, $b) {
- if ($a & self::VISIBILITY_MODIFER_MASK && $b & self::VISIBILITY_MODIFER_MASK) {
+ if ($a & self::VISIBILITY_MODIFIER_MASK && $b & self::VISIBILITY_MODIFIER_MASK) {
throw new Error('Multiple access type modifiers are not allowed');
}