@@ -54,14 +54,14 @@ |
||
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | /** |
| 57 | - * @return mixed representation of max payload size |
|
| 57 | + * @return integer representation of max payload size |
|
| 58 | 58 | */ |
| 59 | 59 | public function getMaxPayloadSize() { |
| 60 | 60 | return $this->maxPayloadSize; |
| 61 | 61 | } |
| 62 | 62 | |
| 63 | 63 | /** |
| 64 | - * @param type $maxPayloadSize representation of max payload size |
|
| 64 | + * @param integer $maxPayloadSize representation of max payload size |
|
| 65 | 65 | * @return $this |
| 66 | 66 | */ |
| 67 | 67 | public function setMaxPayloadSize($maxPayloadSize) { |
@@ -45,7 +45,7 @@ |
||
| 45 | 45 | * @author David Schoenbauer <[email protected]> |
| 46 | 46 | * @since 1.0.0 |
| 47 | 47 | */ |
| 48 | -class UnauthorizedException extends ClientErrorException{ |
|
| 48 | +class UnauthorizedException extends ClientErrorException { |
|
| 49 | 49 | |
| 50 | 50 | public function __construct($message = "") { |
| 51 | 51 | parent::__construct($message, 401); |
@@ -39,7 +39,7 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | class UnsupportedMediaType extends ClientErrorException { |
| 41 | 41 | |
| 42 | - private $_supportedMediaTypes = []; |
|
| 42 | + private $_supportedMediaTypes = [ ]; |
|
| 43 | 43 | |
| 44 | 44 | /** |
| 45 | 45 | * @param mixed $supportedMediaTypes a list of supported media types to give |