@@ -41,7 +41,7 @@ discard block  | 
                                                    ||
| 41 | 41 | * Check if the value (int, float or string) is a integer and greater than zero or equals to zero.  | 
                                                        
| 42 | 42 | * Only number >=0 and <=PHP_INT_MAX  | 
                                                        
| 43 | 43 | * or if $acceptIntegerFloatingPoints==true a floating point that match an positive integer).  | 
                                                        
| 44 | - * @param $value  | 
                                                        |
| 44 | + * @param integer $value  | 
                                                        |
| 45 | 45 | * @param bool $acceptIntegerFloatingPoints  | 
                                                        
| 46 | 46 | * @return bool  | 
                                                        
| 47 | 47 | */  | 
                                                        
@@ -128,7 +128,7 @@ discard block  | 
                                                    ||
| 128 | 128 | * Check if string is a valid floating point.  | 
                                                        
| 129 | 129 | * Ex.: [+-]1, [+-]1e2, [+-]1E2, [+-]1e+2, [+-]1e-2, [+-]1.43234e+2, -1.231e+2, -1.231e-2 etc...  | 
                                                        
| 130 | 130 | * @param $value  | 
                                                        
| 131 | - * @param $unsigned  | 
                                                        |
| 131 | + * @param boolean $unsigned  | 
                                                        |
| 132 | 132 | * @return bool  | 
                                                        
| 133 | 133 | */  | 
                                                        
| 134 | 134 | function isFloatingPoint($value, $unsigned): bool  | 
                                                        
@@ -153,7 +153,7 @@ discard block  | 
                                                    ||
| 153 | 153 | |
| 154 | 154 | /**  | 
                                                        
| 155 | 155 | * Check if the value are a double (integer or float in the form 1, 1.11...1.  | 
                                                        
| 156 | - * @param $value  | 
                                                        |
| 156 | + * @param string $value  | 
                                                        |
| 157 | 157 | * @param int $dec  | 
                                                        
| 158 | 158 | * @param bool $unsigned  | 
                                                        
| 159 | 159 | * @param bool $exactDec if set to true aspect number of dec exact to $dec,  | 
                                                        
@@ -970,7 +970,7 @@ discard block  | 
                                                    ||
| 970 | 970 | *  | 
                                                        
| 971 | 971 | * @param string $field  | 
                                                        
| 972 | 972 | *  | 
                                                        
| 973 | - * @return mixed  | 
                                                        |
| 973 | + * @return boolean  | 
                                                        |
| 974 | 974 | *  | 
                                                        
| 975 | 975 | * @see https://github.com/Wixel/GUMP/blob/master/gump.class.php  | 
                                                        
| 976 | 976 | */  | 
                                                        
@@ -985,7 +985,7 @@ discard block  | 
                                                    ||
| 985 | 985 | *  | 
                                                        
| 986 | 986 | * @param string $field  | 
                                                        
| 987 | 987 | *  | 
                                                        
| 988 | - * @return mixed  | 
                                                        |
| 988 | + * @return boolean  | 
                                                        |
| 989 | 989 | *  | 
                                                        
| 990 | 990 | * @see https://github.com/Wixel/GUMP/blob/master/gump.class.php  | 
                                                        
| 991 | 991 | */  | 
                                                        
@@ -1000,7 +1000,7 @@ discard block  | 
                                                    ||
| 1000 | 1000 | * @param string $field  | 
                                                        
| 1001 | 1001 | * @param bool $acceptSign default false if true accept string that starts with +/- oterwise only [0-9] chars.  | 
                                                        
| 1002 | 1002 | *  | 
                                                        
| 1003 | - * @return mixed  | 
                                                        |
| 1003 | + * @return boolean  | 
                                                        |
| 1004 | 1004 | */  | 
                                                        
| 1005 | 1005 | function isNumeric(string $field, bool $acceptSign = false): bool  | 
                                                        
| 1006 | 1006 |  { | 
                                                        
@@ -1012,7 +1012,7 @@ discard block  | 
                                                    ||
| 1012 | 1012 | *  | 
                                                        
| 1013 | 1013 | * @param string $field  | 
                                                        
| 1014 | 1014 | *  | 
                                                        
| 1015 | - * @return mixed  | 
                                                        |
| 1015 | + * @return boolean  | 
                                                        |
| 1016 | 1016 | */  | 
                                                        
| 1017 | 1017 | function isNumericWithSign(string $field): bool  | 
                                                        
| 1018 | 1018 |  { | 
                                                        
@@ -1024,7 +1024,7 @@ discard block  | 
                                                    ||
| 1024 | 1024 | *  | 
                                                        
| 1025 | 1025 | * @param string $field  | 
                                                        
| 1026 | 1026 | *  | 
                                                        
| 1027 | - * @return mixed  | 
                                                        |
| 1027 | + * @return boolean  | 
                                                        |
| 1028 | 1028 | */  | 
                                                        
| 1029 | 1029 | function isNumericWithoutSign(string $field): bool  | 
                                                        
| 1030 | 1030 |  { | 
                                                        
@@ -1036,7 +1036,7 @@ discard block  | 
                                                    ||
| 1036 | 1036 | *  | 
                                                        
| 1037 | 1037 | * @param string $field  | 
                                                        
| 1038 | 1038 | *  | 
                                                        
| 1039 | - * @return mixed  | 
                                                        |
| 1039 | + * @return boolean  | 
                                                        |
| 1040 | 1040 | */  | 
                                                        
| 1041 | 1041 | function isAlphaNumericDash($field): bool  | 
                                                        
| 1042 | 1042 |  { | 
                                                        
@@ -1048,7 +1048,7 @@ discard block  | 
                                                    ||
| 1048 | 1048 | *  | 
                                                        
| 1049 | 1049 | * @param string $field  | 
                                                        
| 1050 | 1050 | *  | 
                                                        
| 1051 | - * @return mixed  | 
                                                        |
| 1051 | + * @return boolean  | 
                                                        |
| 1052 | 1052 | */  | 
                                                        
| 1053 | 1053 | function isAlphaNumericWhiteSpaces($field): bool  | 
                                                        
| 1054 | 1054 |  { | 
                                                        
@@ -1060,7 +1060,7 @@ discard block  | 
                                                    ||
| 1060 | 1060 | *  | 
                                                        
| 1061 | 1061 | * @param string $field  | 
                                                        
| 1062 | 1062 | *  | 
                                                        
| 1063 | - * @return mixed  | 
                                                        |
| 1063 | + * @return boolean  | 
                                                        |
| 1064 | 1064 | */  | 
                                                        
| 1065 | 1065 | function isBool($field): bool  | 
                                                        
| 1066 | 1066 |  { | 
                                                        
@@ -1086,7 +1086,7 @@ discard block  | 
                                                    ||
| 1086 | 1086 | *  | 
                                                        
| 1087 | 1087 | * @param string $field  | 
                                                        
| 1088 | 1088 | *  | 
                                                        
| 1089 | - * @return mixed  | 
                                                        |
| 1089 | + * @return boolean  | 
                                                        |
| 1090 | 1090 | */  | 
                                                        
| 1091 | 1091 | function isCrediCard(string $field): bool  | 
                                                        
| 1092 | 1092 |  { | 
                                                        
@@ -1119,7 +1119,7 @@ discard block  | 
                                                    ||
| 1119 | 1119 | *  | 
                                                        
| 1120 | 1120 | * @param string $field  | 
                                                        
| 1121 | 1121 | *  | 
                                                        
| 1122 | - * @return mixed  | 
                                                        |
| 1122 | + * @return boolean  | 
                                                        |
| 1123 | 1123 | *  | 
                                                        
| 1124 | 1124 | * @See: https://github.com/Wixel/GUMP/issues/5  | 
                                                        
| 1125 | 1125 | */  |