updated readme
Removed wrong PHPDoc comment
Added array input validation functions