Code Duplication    Length = 12-15 lines in 2 locations

src/SickBeard.php 2 locations

@@ 37-48 (lines=12) @@
34
   *
35
   * @return array
36
   */
37
  public function episode($tvdbId, $season, $episode, $fullPath = false)
38
  {
39
    return $this->_request(
40
      [
41
        'cmd'       => 'episode',
42
        'tvdbid'    => $tvdbId,
43
        'season'    => $season,
44
        'episode'   => $episode,
45
        'full_path' => $fullPath ? 1 : 0,
46
      ]
47
    );
48
  }
49
50
  /**
51
   * @param int $tvdbId
@@ 78-92 (lines=15) @@
75
   *
76
   * @return array
77
   */
78
  public function episodeSetStatus(
79
    $tvdbId, $season, $status, $episode = null, $force = false
80
  )
81
  {
82
    return $this->_request(
83
      [
84
        'cmd'     => 'episode.setstatus',
85
        'tvdbid'  => $tvdbId,
86
        'season'  => $season,
87
        'status'  => $status,
88
        'episode' => $episode,
89
        'force'   => $force ? 1 : 0,
90
      ]
91
    );
92
  }
93
94
  /**
95
   * @param int $tvdbId