Passed
Branch account (ed4c74)
by vincent
02:20
created
src/VfacTmdb/Account/Favorite.php 1 patch
Indentation   -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,6 @@
 block discarded – undo
82 82
         return $this->markAsFavorite('movie', $movie_id, true);
83 83
     }
84 84
     /**
85
-
86 85
      * Unmark a movie as favorite
87 86
      * @param int $movie_id Movie id
88 87
      * @return Favorite
Please login to merge, or discard this patch.
src/VfacTmdb/Auth.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -121,11 +121,11 @@
 block discarded – undo
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
 }
Please login to merge, or discard this patch.
src/VfacTmdb/Tmdb.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -167,15 +167,15 @@
 block discarded – undo
167 167
     {
168 168
         $res = new \stdClass();
169 169
         switch ($method) {
170
-              case 'GET':
170
+                case 'GET':
171 171
                   $res = $this->http_request->getResponse($url);
172
-                  break;
173
-              case 'POST':
172
+                    break;
173
+                case 'POST':
174 174
                   $res = $this->http_request->postResponse($url, [], $form_params);
175
-                  break;
176
-              case 'DELETE':
175
+                    break;
176
+                case 'DELETE':
177 177
                   $res = $this->http_request->deleteResponse($url);
178
-                  break;
178
+                    break;
179 179
         }
180 180
 
181 181
         if (empty($res->getBody())) {
Please login to merge, or discard this patch.
src/VfacTmdb/Items/PeopleTVShowCredit.php 1 patch
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.