@@ -5,10 +5,10 @@ |
||
| 5 | 5 | trait ShowTrait |
| 6 | 6 | { |
| 7 | 7 | |
| 8 | - /** |
|
| 9 | - * Get show ID |
|
| 10 | - * @return int |
|
| 11 | - */ |
|
| 8 | + /** |
|
| 9 | + * Get show ID |
|
| 10 | + * @return int |
|
| 11 | + */ |
|
| 12 | 12 | public function getId() |
| 13 | 13 | { |
| 14 | 14 | return (int) $this->id; |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | $properties = get_object_vars($this); |
| 30 | 30 | foreach (array_keys($properties) as $property) |
| 31 | 31 | { |
| 32 | - if ( ! in_array($property, $this->property_blacklist) && ! property_exists($result, $property)) |
|
| 32 | + if (!in_array($property, $this->property_blacklist) && !property_exists($result, $property)) |
|
| 33 | 33 | { |
| 34 | 34 | throw new NotFoundException($property); |
| 35 | 35 | } |