@@ -31,27 +31,27 @@ discard block |
||
31 | 31 | * Department |
32 | 32 | * @var string |
33 | 33 | */ |
34 | - protected $department = null; |
|
34 | + protected $department = null; |
|
35 | 35 | /** |
36 | 36 | * Gender |
37 | 37 | * @var string |
38 | 38 | */ |
39 | - protected $gender = null; |
|
39 | + protected $gender = null; |
|
40 | 40 | /** |
41 | 41 | * Credit id |
42 | 42 | * @var string |
43 | 43 | */ |
44 | - protected $credit_id = null; |
|
44 | + protected $credit_id = null; |
|
45 | 45 | /** |
46 | 46 | * Job |
47 | 47 | * @var string |
48 | 48 | */ |
49 | - protected $job = null; |
|
49 | + protected $job = null; |
|
50 | 50 | /** |
51 | 51 | * Name |
52 | 52 | * @var string |
53 | 53 | */ |
54 | - protected $name = null; |
|
54 | + protected $name = null; |
|
55 | 55 | /** |
56 | 56 | * Image profile path |
57 | 57 | * @var string |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | * Id |
62 | 62 | * @var int |
63 | 63 | */ |
64 | - protected $id = null; |
|
64 | + protected $id = null; |
|
65 | 65 | |
66 | 66 | /** |
67 | 67 | * Constructor |
@@ -8,7 +8,6 @@ |
||
8 | 8 | * For the full copyright and license information, please view the LICENSE |
9 | 9 | * file that was distributed with this source code. |
10 | 10 | * |
11 | - |
|
12 | 11 | * @author Vincent Faliès <[email protected]> |
13 | 12 | * @copyright Copyright (c) 2017 |
14 | 13 | */ |
@@ -45,17 +45,17 @@ |
||
45 | 45 | * Image poster path |
46 | 46 | * @var string |
47 | 47 | */ |
48 | - protected $poster_path = null; |
|
48 | + protected $poster_path = null; |
|
49 | 49 | /** |
50 | 50 | * Air date |
51 | 51 | * @var string |
52 | 52 | */ |
53 | - protected $air_date = null; |
|
53 | + protected $air_date = null; |
|
54 | 54 | /** |
55 | 55 | * Id |
56 | 56 | * @var int |
57 | 57 | */ |
58 | - protected $id = null; |
|
58 | + protected $id = null; |
|
59 | 59 | |
60 | 60 | /** |
61 | 61 | * Constructor |
@@ -8,7 +8,6 @@ |
||
8 | 8 | * For the full copyright and license information, please view the LICENSE |
9 | 9 | * file that was distributed with this source code. |
10 | 10 | * |
11 | - |
|
12 | 11 | * @author Vincent Faliès <[email protected]> |
13 | 12 | * @copyright Copyright (c) 2017 |
14 | 13 | */ |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * Collection name |
32 | 32 | * @var string |
33 | 33 | */ |
34 | - protected $name = null; |
|
34 | + protected $name = null; |
|
35 | 35 | /** |
36 | 36 | * Collection image logo path |
37 | 37 | * @var string |
@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | * Collection Id |
42 | 42 | * @var int |
43 | 43 | */ |
44 | - protected $id = null; |
|
44 | + protected $id = null; |
|
45 | 45 | |
46 | 46 | /** |
47 | 47 | * Constructor |
@@ -8,7 +8,6 @@ |
||
8 | 8 | * For the full copyright and license information, please view the LICENSE |
9 | 9 | * file that was distributed with this source code. |
10 | 10 | * |
11 | - |
|
12 | 11 | * @author Vincent Faliès <[email protected]> |
13 | 12 | * @copyright Copyright (c) 2017 |
14 | 13 | */ |
@@ -29,27 +29,27 @@ discard block |
||
29 | 29 | * Character name |
30 | 30 | * @var string |
31 | 31 | */ |
32 | - protected $character = null; |
|
32 | + protected $character = null; |
|
33 | 33 | /** |
34 | 34 | * Gender |
35 | 35 | * @var string |
36 | 36 | */ |
37 | - protected $gender = null; |
|
37 | + protected $gender = null; |
|
38 | 38 | /** |
39 | 39 | * Credit Id |
40 | 40 | * @var string |
41 | 41 | */ |
42 | - protected $credit_id = null; |
|
42 | + protected $credit_id = null; |
|
43 | 43 | /** |
44 | 44 | * Cast Id |
45 | 45 | * @var int |
46 | 46 | */ |
47 | - protected $cast_id = null; |
|
47 | + protected $cast_id = null; |
|
48 | 48 | /** |
49 | 49 | * Name |
50 | 50 | * @var string |
51 | 51 | */ |
52 | - protected $name = null; |
|
52 | + protected $name = null; |
|
53 | 53 | /** |
54 | 54 | * Image profile path |
55 | 55 | * @var string |
@@ -59,12 +59,12 @@ discard block |
||
59 | 59 | * Order in cast |
60 | 60 | * @var int |
61 | 61 | */ |
62 | - protected $order = null; |
|
62 | + protected $order = null; |
|
63 | 63 | /** |
64 | 64 | * Id |
65 | 65 | * @var int |
66 | 66 | */ |
67 | - protected $id = null; |
|
67 | + protected $id = null; |
|
68 | 68 | |
69 | 69 | /** |
70 | 70 | * Constructor |
@@ -35,12 +35,12 @@ discard block |
||
35 | 35 | * Collection name |
36 | 36 | * @var string |
37 | 37 | */ |
38 | - protected $name = null; |
|
38 | + protected $name = null; |
|
39 | 39 | /** |
40 | 40 | * Image poster path |
41 | 41 | * @var string |
42 | 42 | */ |
43 | - protected $poster_path = null; |
|
43 | + protected $poster_path = null; |
|
44 | 44 | /** |
45 | 45 | * Image backdrop path |
46 | 46 | * @var string |
@@ -50,7 +50,7 @@ discard block |
||
50 | 50 | * Id |
51 | 51 | * @var int |
52 | 52 | */ |
53 | - protected $id = null; |
|
53 | + protected $id = null; |
|
54 | 54 | |
55 | 55 | /** |
56 | 56 | * Constructor |
@@ -8,7 +8,6 @@ |
||
8 | 8 | * For the full copyright and license information, please view the LICENSE |
9 | 9 | * file that was distributed with this source code. |
10 | 10 | * |
11 | - |
|
12 | 11 | * @author Vincent Faliès <[email protected]> |
13 | 12 | * @copyright Copyright (c) 2017 |
14 | 13 | */ |
@@ -33,12 +33,12 @@ |
||
33 | 33 | * Image backdrop path |
34 | 34 | * @var string |
35 | 35 | */ |
36 | - protected $backdrop_path = null; |
|
36 | + protected $backdrop_path = null; |
|
37 | 37 | /** |
38 | 38 | * Image poster path |
39 | 39 | * @var string |
40 | 40 | */ |
41 | - protected $poster_path = null; |
|
41 | + protected $poster_path = null; |
|
42 | 42 | |
43 | 43 | use ElementTrait; |
44 | 44 | use ShowTrait; |
@@ -8,7 +8,6 @@ |
||
8 | 8 | * For the full copyright and license information, please view the LICENSE |
9 | 9 | * file that was distributed with this source code. |
10 | 10 | * |
11 | - |
|
12 | 11 | * @author Vincent Faliès <[email protected]> |
13 | 12 | * @copyright Copyright (c) 2017 |
14 | 13 | */ |
@@ -8,7 +8,6 @@ |
||
8 | 8 | * For the full copyright and license information, please view the LICENSE |
9 | 9 | * file that was distributed with this source code. |
10 | 10 | * |
11 | - |
|
12 | 11 | * @author Vincent Faliès <[email protected]> |
13 | 12 | * @copyright Copyright (c) 2017 |
14 | 13 | */ |
@@ -36,22 +36,22 @@ discard block |
||
36 | 36 | * Logger object |
37 | 37 | * @var \Psr\Log\LoggerInterface |
38 | 38 | */ |
39 | - protected $logger = null; |
|
39 | + protected $logger = null; |
|
40 | 40 | /** |
41 | 41 | * Configuration array |
42 | 42 | * @var \stdClass |
43 | 43 | */ |
44 | - protected $conf = null; |
|
44 | + protected $conf = null; |
|
45 | 45 | /** |
46 | 46 | * Tmdb object |
47 | 47 | * @var TmdbInterface |
48 | 48 | */ |
49 | - protected $tmdb = null; |
|
49 | + protected $tmdb = null; |
|
50 | 50 | /** |
51 | 51 | * Data object |
52 | 52 | * @var \stdClass |
53 | 53 | */ |
54 | - protected $data = null; |
|
54 | + protected $data = null; |
|
55 | 55 | |
56 | 56 | /** |
57 | 57 | * Constructor |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | $properties = get_object_vars($this); |
68 | 68 | foreach (array_keys($properties) as $property) |
69 | 69 | { |
70 | - if ( ! in_array($property, $this->property_blacklist) && ! property_exists($result, $property)) |
|
70 | + if (!in_array($property, $this->property_blacklist) && !property_exists($result, $property)) |
|
71 | 71 | { |
72 | 72 | throw new NotFoundException($property); |
73 | 73 | } |
@@ -8,7 +8,6 @@ |
||
8 | 8 | * For the full copyright and license information, please view the LICENSE |
9 | 9 | * file that was distributed with this source code. |
10 | 10 | * |
11 | - |
|
12 | 11 | * @author Vincent Faliès <[email protected]> |
13 | 12 | * @copyright Copyright (c) 2017 |
14 | 13 | */ |
@@ -31,7 +31,7 @@ |
||
31 | 31 | * Tmdb object |
32 | 32 | * @var TmdbInterface |
33 | 33 | */ |
34 | - private $tmdb = null; |
|
34 | + private $tmdb = null; |
|
35 | 35 | /** |
36 | 36 | * Logger |
37 | 37 | * @var \Psr\Log\LoggerInterface |
@@ -8,7 +8,6 @@ |
||
8 | 8 | * For the full copyright and license information, please view the LICENSE |
9 | 9 | * file that was distributed with this source code. |
10 | 10 | * |
11 | - |
|
12 | 11 | * @author Vincent Faliès <[email protected]> |
13 | 12 | * @copyright Copyright (c) 2017 |
14 | 13 | */ |