-1 && $hour < 24 && $minute > -1 && $minute < 60) { return true; } return false; } public function isValid(Collection $container, $status = null): bool { /** @var list */ $tmp = explode($this->split, $container->get($this->field), 2); if (self::checktime ((int)$tmp[0], (int)$tmp[1])) { return true; } return false; } }