diff --git a/src/BaseEnum.php b/src/BaseEnum.php index a777ccb..3e10d6f 100644 --- a/src/BaseEnum.php +++ b/src/BaseEnum.php @@ -68,22 +68,6 @@ abstract class BaseEnum implements JsonSerializable return static::make($name); } - /** - * @param string $name - * @param array $arguments - * @return bool|mixed - * @throws TypeError If anything else thant string or int is used. - * @throws BadMethodCallException If a matching definition cannot be found. - */ - public function __call(string $name, array $arguments) - { - if (strpos($name, 'is') === 0) { - $other = static::make(substr($name, 2)); - return $this->equals($other); - } - return self::__callStatic($name, $arguments); - } - /** * Output the value as a string * @return string