original_string: public function findShowByName($showName)
    {
      $response = $this->request('/FindShowByName/' . $showName);
      if ( $response->response->status == 'false' )
        return null;
      $shows = $response->response->results->result;
  
      if ( count($shows) <= 0 )
        return null;
  
      $show = $shows[0];
      $show = $this->formatShow($show);
  
      return $show;
    }
code: public function findShowByName($showName)
    {
      $response = $this->request('/FindShowByName/' . $showName);
      if ( $response->response->status == 'false' )
        return null;
      $shows = $response->response->results->result;
  
      if ( count($shows) <= 0 )
        return null;
  
      $show = $shows[0];
      $show = $this->formatShow($show);
  
      return $show;
    }
code_tokens: public function findShowByName ( $ showName ) { $ response = $ this -> request ( '/FindShowByName/' . $ showName ) ; if ( $ response -> response -> status == 'false' ) return null ; $ shows = $ response -> response -> results -> result ; if ( count ( $ shows ) <= 0 ) return null ; $ show = $ shows [ 0 ] ; $ show = $ this -> formatShow ( $ show ) ; return $ show ; }
docstring: Search a show by name
  
  @param $showName
  
  @return null|\stdClass
  @throws \Exception
docstring_tokens: Search a show by name