| @@ -22,10 +22,10 @@ | ||
| 22 | 22 | private static function hasKeysByType($type, array $input, $only = false, $allow_empty = false) | 
| 23 | 23 |      { | 
| 24 | 24 |          if (!is_array($input)) { | 
| 25 | - return false; | |
| 25 | + return false; | |
| 26 | 26 | } | 
| 27 | 27 |          if (!$input) { | 
| 28 | - return $allow_empty; | |
| 28 | + return $allow_empty; | |
| 29 | 29 | } | 
| 30 | 30 | $count = count(array_filter(array_keys($input), 'is_'.strtolower($type))); | 
| 31 | 31 | return $only ? $count === count($input) : $count > 0; |