original_string: protected function clean($request)
      {
          $this->cleanParameterBag($request->query);
  
          if ($request->isJson()) {
              $this->cleanParameterBag($request->json());
          } elseif ($request->request !== $request->query) {
              $this->cleanParameterBag($request->request);
          }
      }
code: protected function clean($request)
      {
          $this->cleanParameterBag($request->query);
  
          if ($request->isJson()) {
              $this->cleanParameterBag($request->json());
          } elseif ($request->request !== $request->query) {
              $this->cleanParameterBag($request->request);
          }
      }
code_tokens: protected function clean ( $ request ) { $ this -> cleanParameterBag ( $ request -> query ) ; if ( $ request -> isJson ( ) ) { $ this -> cleanParameterBag ( $ request -> json ( ) ) ; } elseif ( $ request -> request !== $ request -> query ) { $ this -> cleanParameterBag ( $ request -> request ) ; } }
docstring: Clean the request's data.
  
  @param  \Illuminate\Http\Request  $request
  @return void
docstring_tokens: Clean the request s data .