Passed
Push — master ( 02af23...8c59c4 )
by vincent
47s
created
src/Items/TVSeason.php 1 patch
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -19,12 +19,12 @@  discard block
 block discarded – undo
19 19
      */
20 20
     public function __construct(Tmdb $tmdb, $tv_id, $season_number, array $options = array())
21 21
     {
22
-        parent::__construct($tmdb, $season_number, $options, 'tv/'.$tv_id);
22
+        parent::__construct($tmdb, $season_number, $options, 'tv/' . $tv_id);
23 23
     }
24 24
 
25 25
     public function getId()
26 26
     {
27
-        if (! empty($this->data->id)) {
27
+        if (!empty($this->data->id)) {
28 28
             return (int) $this->data->id;
29 29
         }
30 30
         return 0;
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
     public function getAirDate()
34 34
     {
35
-        if (! empty($this->data->air_date)) {
35
+        if (!empty($this->data->air_date)) {
36 36
             return $this->data->air_date;
37 37
         }
38 38
         return '';
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
     public function getEpisodeCount()
42 42
     {
43
-        if (! empty($this->data->episodes)) {
43
+        if (!empty($this->data->episodes)) {
44 44
             return count($this->data->episodes);
45 45
         }
46 46
         return 0;
@@ -48,7 +48,7 @@  discard block
 block discarded – undo
48 48
 
49 49
     public function getSeasonNumber()
50 50
     {
51
-        if (! empty($this->data->season_number)) {
51
+        if (!empty($this->data->season_number)) {
52 52
             return (int) $this->data->season_number;
53 53
         }
54 54
         return 0;
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
 
57 57
     public function getEpisodes()
58 58
     {
59
-        if (! empty($this->data->episodes)) {
59
+        if (!empty($this->data->episodes)) {
60 60
             foreach ($this->data->episodes as $episode) {
61 61
                 $episode = new \vfalies\tmdb\Results\TVEpisode($this->tmdb, $episode);
62 62
                 yield $episode;
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 
67 67
     public function getName()
68 68
     {
69
-        if (! empty($this->data->name)) {
69
+        if (!empty($this->data->name)) {
70 70
             return $this->data->name;
71 71
         }
72 72
         return '';
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 
75 75
     public function getOverview()
76 76
     {
77
-        if (! empty($this->data->overview)) {
77
+        if (!empty($this->data->overview)) {
78 78
             return $this->data->overview;
79 79
         }
80 80
         return '';
Please login to merge, or discard this patch.