original_string: public static function validateMultiple($keys)
      {
          foreach ($keys as $key) {
              if (!is_string($key) && !is_int($key)) {
                  throw InvalidKeyException::forKey($key);
              }
          }
      }
code: public static function validateMultiple($keys)
      {
          foreach ($keys as $key) {
              if (!is_string($key) && !is_int($key)) {
                  throw InvalidKeyException::forKey($key);
              }
          }
      }
code_tokens: public static function validateMultiple ( $ keys ) { foreach ( $ keys as $ key ) { if ( ! is_string ( $ key ) && ! is_int ( $ key ) ) { throw InvalidKeyException :: forKey ( $ key ) ; } } }
docstring: Validates that multiple keys are valid.
  
  @param array $keys The tested keys.
  
  @throws InvalidKeyException If a key is invalid.
docstring_tokens: Validates that multiple keys are valid .