add array class validator in order to check params from classes
Merge pull request #169 from mkrajewski/array_class_validator

add array class validator in order to check params from classes