@@ -38,14 +38,14 @@ |
||
| 38 | 38 | class UnsupportedMediaType extends ClientErrorException |
| 39 | 39 | { |
| 40 | 40 | |
| 41 | - private $supportedMediaTypes = []; |
|
| 41 | + private $supportedMediaTypes = [ ]; |
|
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * @param mixed $supportedMediaTypes a list of supported media types to give |
| 45 | 45 | * the client a clue as to what is expected |
| 46 | 46 | * @param string $message a message from the offending section of code |
| 47 | 47 | */ |
| 48 | - public function __construct(array $supportedMediaTypes = [], $message = "") |
|
| 48 | + public function __construct(array $supportedMediaTypes = [ ], $message = "") |
|
| 49 | 49 | { |
| 50 | 50 | parent::__construct($message, 415); |
| 51 | 51 | $this->setSupportedMediaTypes($supportedMediaTypes); |
@@ -56,7 +56,6 @@ discard block |
||
| 56 | 56 | } |
| 57 | 57 | |
| 58 | 58 | /** |
| 59 | - |
|
| 60 | 59 | * @return integer representation of max payload size |
| 61 | 60 | */ |
| 62 | 61 | public function getMaxPayloadSize() |
@@ -65,7 +64,6 @@ discard block |
||
| 65 | 64 | } |
| 66 | 65 | |
| 67 | 66 | /** |
| 68 | - |
|
| 69 | 67 | * @param integer $maxPayloadSize representation of max payload size |
| 70 | 68 | * @return $this |
| 71 | 69 | */ |