Passed
Branch account (ed4c74)
by vincent
02:20
created
src/VfacTmdb/Items/TVEpisode.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
 
105 105
     /**
106 106
      * Guests stars
107
-     * @return \Generator|Results\Cast
107
+     * @return \Generator
108 108
      */
109 109
     public function getGuestStars() : \Generator
110 110
     {
Please login to merge, or discard this patch.
src/VfacTmdb/Items/TVSeason.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -108,7 +108,7 @@
 block discarded – undo
108 108
 
109 109
     /**
110 110
      * Episodes list
111
-     * @return \Generator|Results\TVEpisode
111
+     * @return \Generator
112 112
      */
113 113
     public function getEpisodes() : \Generator
114 114
     {
Please login to merge, or discard this patch.
src/VfacTmdb/Abstracts/Items/PeopleItemCredit.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,8 @@
 block discarded – undo
51 51
             $this->logger = $tmdb->getLogger();
52 52
             $this->params = $this->tmdb->checkOptions($options);
53 53
             $this->data   = $this->tmdb->getRequest('person/' . $item_id . '/' . $item_type . '_credits', $this->params);
54
-        } catch (TmdbException $ex) {
54
+        }
55
+        catch (TmdbException $ex) {
55 56
             throw $ex;
56 57
         }
57 58
     }
Please login to merge, or discard this patch.
src/VfacTmdb/Items/PeopleMovieCredit.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,8 @@
 block discarded – undo
35 35
             $this->cast_class = PeopleMovieCast::class;
36 36
 
37 37
             parent::__construct($tmdb, 'movie', $people_id, $options);
38
-        } catch (TmdbException $ex) {
38
+        }
39
+        catch (TmdbException $ex) {
39 40
             throw $ex;
40 41
         }
41 42
     }
Please login to merge, or discard this patch.
src/VfacTmdb/Items/PeopleTVShowCredit.php 2 patches
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -26,17 +26,17 @@
 block discarded – undo
26 26
  * @author Vincent Faliès <[email protected]>
27 27
  * @copyright Copyright (c) 2017
28 28
  */
29
- class PeopleTVShowCredit extends PeopleItemCredit
30
- {
31
-     public function __construct(TmdbInterface $tmdb, int $people_id, array $options = array())
32
-     {
33
-         try {
34
-             $this->crew_class = PeopleTVShowCrew::class;
35
-             $this->cast_class = PeopleTVShowCast::class;
29
+    class PeopleTVShowCredit extends PeopleItemCredit
30
+    {
31
+        public function __construct(TmdbInterface $tmdb, int $people_id, array $options = array())
32
+        {
33
+            try {
34
+                $this->crew_class = PeopleTVShowCrew::class;
35
+                $this->cast_class = PeopleTVShowCast::class;
36 36
 
37
-             parent::__construct($tmdb, 'tv', $people_id, $options);
38
-         } catch (TmdbException $ex) {
39
-             throw $ex;
40
-         }
41
-     }
42
- }
37
+                parent::__construct($tmdb, 'tv', $people_id, $options);
38
+            } catch (TmdbException $ex) {
39
+                throw $ex;
40
+            }
41
+        }
42
+    }
Please login to merge, or discard this patch.
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,8 @@
 block discarded – undo
35 35
              $this->cast_class = PeopleTVShowCast::class;
36 36
 
37 37
              parent::__construct($tmdb, 'tv', $people_id, $options);
38
-         } catch (TmdbException $ex) {
38
+         }
39
+         catch (TmdbException $ex) {
39 40
              throw $ex;
40 41
          }
41 42
      }
Please login to merge, or discard this patch.