original_string: public function filterSubmitted(array $allowed)
      {
          $this->submitted = array_intersect_key($this->submitted, array_flip($allowed));
          return $this->submitted;
      }
code: public function filterSubmitted(array $allowed)
      {
          $this->submitted = array_intersect_key($this->submitted, array_flip($allowed));
          return $this->submitted;
      }
code_tokens: public function filterSubmitted ( array $ allowed ) { $ this -> submitted = array_intersect_key ( $ this -> submitted , array_flip ( $ allowed ) ) ; return $ this -> submitted ; }
docstring: Limit an array of submitted data to the allowed keys
  @param array $allowed
  @return array
docstring_tokens: Limit an array of submitted data to the allowed keys