@@ -47,7 +47,7 @@ discard block |
||
47 | 47 | |
48 | 48 | /** |
49 | 49 | * Crew |
50 | - * @return \Generator|Results\Crew |
|
50 | + * @return \Generator |
|
51 | 51 | */ |
52 | 52 | public function getCrew() : \Generator |
53 | 53 | { |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | |
62 | 62 | /** |
63 | 63 | * Cast |
64 | - * @return \Generator|Results\Cast |
|
64 | + * @return \Generator |
|
65 | 65 | */ |
66 | 66 | public function getCast() : \Generator |
67 | 67 | { |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * This file is part of the Tmdb package. |
4 | 4 | * |
@@ -65,7 +65,7 @@ |
||
65 | 65 | */ |
66 | 66 | public function getBuilder(string $builder, array $args = []) : LoggerBuilderInterface |
67 | 67 | { |
68 | - $class = "\\VfacTmdb\\Factory\\Builder\\{$builder}Builder"; |
|
68 | + $class = "\\VfacTmdb\\Factory\\Builder\\{$builder}builder"; |
|
69 | 69 | |
70 | 70 | $reflection = new \ReflectionClass($class); |
71 | 71 |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * This file is part of the Tmdb package. |
4 | 4 | * |
@@ -121,11 +121,11 @@ |
||
121 | 121 | public function __get(string $name) |
122 | 122 | { |
123 | 123 | switch ($name) { |
124 | - case 'request_token': |
|
124 | + case 'request_token': |
|
125 | 125 | case 'session_id': |
126 | 126 | return $this->$name; |
127 | - default: |
|
127 | + default: |
|
128 | 128 | throw new NotFoundException(); |
129 | - } |
|
129 | + } |
|
130 | 130 | } |
131 | 131 | } |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * This file is part of the Tmdb package. |
4 | 4 | * |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | * Session Id |
54 | 54 | * @var string |
55 | 55 | */ |
56 | - private $session_id = null; |
|
56 | + private $session_id = null; |
|
57 | 57 | |
58 | 58 | /** |
59 | 59 | * Constructor |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * This file is part of the Tmdb package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | |
3 | 3 | /** |
4 | 4 | * This file is part of the Tmdb package. |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * This file is part of the Tmdb package. |
4 | 4 | * |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | */ |
59 | 59 | public function __construct(TmdbInterface $tmdb, int $tv_id, int $season_number, int $episode_number, array $options = array()) |
60 | 60 | { |
61 | - parent::__construct($tmdb, $episode_number, $options, 'tv/' . $tv_id . '/season/' . $season_number.'/episode'); |
|
61 | + parent::__construct($tmdb, $episode_number, $options, 'tv/' . $tv_id . '/season/' . $season_number . '/episode'); |
|
62 | 62 | |
63 | 63 | $this->season_number = $season_number; |
64 | 64 | $this->episode_number = $episode_number; |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * This file is part of the Tmdb package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * This file is part of the Tmdb package. |
4 | 4 | * |
@@ -1,4 +1,4 @@ |
||
1 | -<?php declare(strict_types=1); |
|
1 | +<?php declare(strict_types = 1); |
|
2 | 2 | /** |
3 | 3 | * This file is part of the Tmdb package. |
4 | 4 | * |