original_string: protected function checkToken()
      {
          $query = $this->query;
          $signature = $this->sign(
              $this->token,
              isset($query['timestamp']) ? $query['timestamp'] : '',
              isset($query['nonce']) ? $query['nonce'] : ''
          );
          return isset($query['signature']) && $signature === $query['signature'];
      }
code: protected function checkToken()
      {
          $query = $this->query;
          $signature = $this->sign(
              $this->token,
              isset($query['timestamp']) ? $query['timestamp'] : '',
              isset($query['nonce']) ? $query['nonce'] : ''
          );
          return isset($query['signature']) && $signature === $query['signature'];
      }
code_tokens: protected function checkToken ( ) { $ query = $ this -> query ; $ signature = $ this -> sign ( $ this -> token , isset ( $ query [ 'timestamp' ] ) ? $ query [ 'timestamp' ] : '' , isset ( $ query [ 'nonce' ] ) ? $ query [ 'nonce' ] : '' ) ; return isset ( $ query [ 'signature' ] ) && $ signature === $ query [ 'signature' ] ; }
docstring: Check if the WeChat server signature is valid
docstring_tokens: Check if the WeChat server signature is valid