original_string: public function get($collectId, array $fields = array())
      {
          $params = array();
          if (!empty($fields)) {
              $params['fields'] = implode(',', $fields);
          }
          $endpoint = '/admin/collects/'.$collectId.'.json';
          $response = $this->request($endpoint, 'GET', $params);
          return $this->createObject(Collect::class, $response['collect']);
      }
code: public function get($collectId, array $fields = array())
      {
          $params = array();
          if (!empty($fields)) {
              $params['fields'] = implode(',', $fields);
          }
          $endpoint = '/admin/collects/'.$collectId.'.json';
          $response = $this->request($endpoint, 'GET', $params);
          return $this->createObject(Collect::class, $response['collect']);
      }
code_tokens: public function get ( $ collectId , array $ fields = array ( ) ) { $ params = array ( ) ; if ( ! empty ( $ fields ) ) { $ params [ 'fields' ] = implode ( ',' , $ fields ) ; } $ endpoint = '/admin/collects/' . $ collectId . '.json' ; $ response = $ this -> request ( $ endpoint , 'GET' , $ params ) ; return $ this -> createObject ( Collect :: class , $ response [ 'collect' ] ) ; }
docstring: Receive a single collect
  
  @link   https://help.shopify.com/api/reference/collect#show
  @param  integer $collectId
  @param  array   $fields
  @return Collect
docstring_tokens: Receive a single collect