@@ -30,11 +30,11 @@ |
||
| 30 | 30 | $typeSupported = array_key_exists($subtypeString, self::$supportedSubtypes); |
| 31 | 31 | |
| 32 | 32 | if (!$typeSupported) { |
| 33 | - throw new UnsupportedMIMETypeException('MIME type "' . $subtypeString . '" is not supported!'); |
|
| 33 | + throw new UnsupportedMIMETypeException('MIME type "'.$subtypeString.'" is not supported!'); |
|
| 34 | 34 | } |
| 35 | 35 | |
| 36 | 36 | $type = self::$supportedSubtypes[$subtypeString]; |
| 37 | 37 | |
| 38 | - return new self($type . '/' . $subtypeString); |
|
| 38 | + return new self($type.'/'.$subtypeString); |
|
| 39 | 39 | } |
| 40 | 40 | } |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | final public function __construct(string $itemId, $iri) |
| 19 | 19 | { |
| 20 | 20 | parent::__construct($itemId); |
| 21 | - $this->iri = (string) $iri; |
|
| 21 | + $this->iri = (string)$iri; |
|
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | /** |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | public function serialize() |
| 34 | 34 | { |
| 35 | 35 | return array( |
| 36 | - 'organizer_id' => $this->organizerId, |
|
| 36 | + 'organizer_id' => $this->organizerId, |
|
| 37 | 37 | ); |
| 38 | 38 | } |
| 39 | 39 | } |