Fixed Request::has() from throwing error if data checking is an array

Fixing bug where Request::has() would throw error because of trying to use trim if the data type was an array