original_string: public function getEpisodesOfSeason($showId, $season)
    {
      $response = $this->request('/GetEpisodesForSeason/' . $showId . '/' . $season);
      if ( $response->response->status == 'false' )
        return null;
      $episodes = $response->response->results->result;
  
      if ( count($episodes) <= 0 )
        return null;
  
      $episodeList = [];
      foreach ( $episodes as $episode )
        $episodeList[] = $this->formatEpisode($episode);
  
      return $episodeList;
    }
code: public function getEpisodesOfSeason($showId, $season)
    {
      $response = $this->request('/GetEpisodesForSeason/' . $showId . '/' . $season);
      if ( $response->response->status == 'false' )
        return null;
      $episodes = $response->response->results->result;
  
      if ( count($episodes) <= 0 )
        return null;
  
      $episodeList = [];
      foreach ( $episodes as $episode )
        $episodeList[] = $this->formatEpisode($episode);
  
      return $episodeList;
    }
code_tokens: public function getEpisodesOfSeason ( $ showId , $ season ) { $ response = $ this -> request ( '/GetEpisodesForSeason/' . $ showId . '/' . $ season ) ; if ( $ response -> response -> status == 'false' ) return null ; $ episodes = $ response -> response -> results -> result ; if ( count ( $ episodes ) <= 0 ) return null ; $ episodeList = [ ] ; foreach ( $ episodes as $ episode ) $ episodeList [ ] = $ this -> formatEpisode ( $ episode ) ; return $ episodeList ; }
docstring: Search episodes by season and Bierdopje showId
  
  @param $showId
  @param $season
  
  @return array|null
  @throws \Exception
docstring_tokens: Search episodes by season and Bierdopje showId