Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 8 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
23 | 5 | public function __construct(Tmdb $tmdb, \stdClass $result) |
|
24 | { |
||
25 | 5 | parent::__construct($tmdb, $result); |
|
26 | |||
27 | // Populate data |
||
28 | 5 | $this->id = $this->data->id; |
|
29 | 5 | $this->air_date = $this->data->air_date; |
|
30 | 5 | $this->episode_count = $this->data->episode_count; |
|
31 | 5 | $this->poster_path = $this->data->poster_path; |
|
32 | 5 | $this->season_number = $this->data->season_number; |
|
33 | 5 | } |
|
34 | |||
55 |