diff --git a/src/HttpStatus.php b/src/HttpStatus.php index 496d8e0..f5fab1a 100644 --- a/src/HttpStatus.php +++ b/src/HttpStatus.php @@ -219,7 +219,7 @@ public static function getReasonException($code) * * @return int */ - protected static function filterStatusCode($code) + public static function filterStatusCode($code) { $code = filter_var($code, FILTER_VALIDATE_INT, ['options' => [ 'min_range' => self::MINIMUM,