From a93c94f338a9e3188639015346ac01f08a36b44e Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 22 Jul 2020 12:36:00 +0400 Subject: Fixed bugs and updated tests Signed-off-by: Valentin Popov --- src/Parsers/IntegerParser.php | 36 ------------------------------------ 1 file changed, 36 deletions(-) delete mode 100644 src/Parsers/IntegerParser.php (limited to 'src/Parsers/IntegerParser.php') diff --git a/src/Parsers/IntegerParser.php b/src/Parsers/IntegerParser.php deleted file mode 100644 index ba89315..0000000 --- a/src/Parsers/IntegerParser.php +++ /dev/null @@ -1,36 +0,0 @@ - - * @license http://www.apache.org/licenses/LICENSE-2.0 - * @package EPGService\Parsers - */ -final class IntegerParser implements BaseParser { - /** - * @param mixed $value - * - * @return int - */ - public static function get($value): int { - return filter_var($value, FILTER_VALIDATE_INT); - } -} -- cgit v1.2.3