[ 2.0 ] File Verification

so the method $this->request->hasFiles() , is not working in 2.0 , why ? If check if true or false it just passes as true .

The method actually returns the number of files, so an integer.

But does it just count how many input type of file there is or files uploading ?