protected function isValueOfImpl(&$value) { return parent::isValueOfImpl($value) && !is_string($value) && is_numeric($value) && !is_int($value); }