Skip to content

Commit

Permalink
fix docblocks in DataFilter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
marcogiovinazzi committed Mar 10, 2019
1 parent 09063a0 commit 21ed690
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/Comodojo/Foundation/Validation/DataFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ class DataFilter {
*
* This method is a shortcut to filter_var using FILTER_VALIDATE_INT
*
* @param array $int Int to filter
* @param array $min Min value (default to ~PHP_INT_MAX)
* @param array $max Max value (default to PHP_INT_MAX)
* @param array $default Default value
* @param int $int Int to filter
* @param int $min Min value (default to ~PHP_INT_MAX)
* @param int $max Max value (default to PHP_INT_MAX)
* @param int $default Default value
* @return int
*/
public static function filterInteger($int, $min=~PHP_INT_MAX, $max=PHP_INT_MAX, $default=0) {
Expand All @@ -44,7 +44,7 @@ public static function filterInteger($int, $min=~PHP_INT_MAX, $max=PHP_INT_MAX,
/**
* Filter a TCP/UDP port
*
* @param array $port
* @param int $port
* @param array $default
* @return int
*/
Expand All @@ -59,9 +59,9 @@ public static function filterPort($port, $default = 80) {
*
* This method is a shortcut to filter_var using FILTER_VALIDATE_BOOLEAN
*
* @param array $bool
* @param bool $bool
* @param array $default
* @return array
* @return bool
*/
public static function filterBoolean($bool, $default = false) {

Expand Down

0 comments on commit 21ed690

Please sign in to comment.