| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 8 | 
| Code Lines | 5 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 6 | 
| CRAP Score | 1 | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types = 1);  | 
            ||
| 50 | 15 | public function __construct(TmdbInterface $tmdb, int $id, \stdClass $result)  | 
            |
| 51 |     { | 
            ||
| 52 | 15 | $result->id = $id;  | 
            |
| 53 | 15 | parent::__construct($tmdb, $result);  | 
            |
| 54 | |||
| 55 | 12 | $this->id = (int) $id;  | 
            |
| 56 | 12 | $this->name = $result->name;  | 
            |
| 57 | 12 | $this->type = $result->type;  | 
            |
| 58 | 12 | }  | 
            |
| 87 |