Revert back prev commit

Its PHPStorm throwing an error because $rest was re-defined from
S3Request to response() object