Total Complexity | 3 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
26 | class Change extends Results implements ChangeResultsInterface |
||
27 | { |
||
28 | /** |
||
29 | * Adult |
||
30 | * @var bool |
||
31 | */ |
||
32 | protected $adult = null; |
||
33 | /** |
||
34 | * Id |
||
35 | * @var int |
||
36 | */ |
||
37 | protected $id = null; |
||
38 | |||
39 | /** |
||
40 | * Constructor |
||
41 | * @param TmdbInterface $tmdb |
||
42 | * @param \stdClass $result |
||
43 | */ |
||
44 | 15 | public function __construct(TmdbInterface $tmdb, \stdClass $result) |
|
51 | 15 | } |
|
52 | |||
53 | /** |
||
54 | * Get Id |
||
55 | * @return int |
||
56 | */ |
||
57 | 3 | public function getId() : int |
|
60 | } |
||
61 | |||
62 | /** |
||
63 | * Adult |
||
64 | * @return bool |
||
65 | */ |
||
66 | 3 | public function getAdult() : bool |
|
71 |