diff --git a/src/Bundle/ChillMainBundle/Search/AbstractSearch.php b/src/Bundle/ChillMainBundle/Search/AbstractSearch.php index 9c3f96f5d..a7cb88d55 100644 --- a/src/Bundle/ChillMainBundle/Search/AbstractSearch.php +++ b/src/Bundle/ChillMainBundle/Search/AbstractSearch.php @@ -24,13 +24,11 @@ abstract class AbstractSearch implements SearchInterface /** * parse string expected to be a date and transform to a DateTime object. * - * @param type $string - * * @return \DateTime * * @throws ParsingException if the date is not parseable */ - public function parseDate($string) + public function parseDate(string $string) { try { return new \DateTime($string);