original_string: protected function extractShaSign(array $parameters)
      {
          if (!array_key_exists(self::SHASIGN_FIELD, $parameters) || $parameters[self::SHASIGN_FIELD] == '') {
              throw new InvalidArgumentException('SHASIGN parameter not present in parameters.');
          }
          return $parameters[self::SHASIGN_FIELD];
      }
code: protected function extractShaSign(array $parameters)
      {
          if (!array_key_exists(self::SHASIGN_FIELD, $parameters) || $parameters[self::SHASIGN_FIELD] == '') {
              throw new InvalidArgumentException('SHASIGN parameter not present in parameters.');
          }
          return $parameters[self::SHASIGN_FIELD];
      }
code_tokens: protected function extractShaSign ( array $ parameters ) { if ( ! array_key_exists ( self :: SHASIGN_FIELD , $ parameters ) || $ parameters [ self :: SHASIGN_FIELD ] == '' ) { throw new InvalidArgumentException ( 'SHASIGN parameter not present in parameters.' ) ; } return $ parameters [ self :: SHASIGN_FIELD ] ; }
docstring: Set Ogone SHA sign
  @param array $parameters
  @throws \InvalidArgumentException
docstring_tokens: Set Ogone SHA sign