@@ -12,8 +12,8 @@ discard block |
||
| 12 | 12 | class EncodingException extends InvalidArgumentException |
| 13 | 13 | { |
| 14 | 14 | /** |
| 15 | - * @var mixed Value that caused this exception to be thrown |
|
| 16 | - */ |
|
| 15 | + * @var mixed Value that caused this exception to be thrown |
|
| 16 | + */ |
|
| 17 | 17 | protected $value; |
| 18 | 18 | |
| 19 | 19 | public function __construct(string $message, $value) |
@@ -23,10 +23,10 @@ discard block |
||
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | /** |
| 26 | - * Return the value that caused this exception to be thrown |
|
| 27 | - * |
|
| 28 | - * @return mixed |
|
| 29 | - */ |
|
| 26 | + * Return the value that caused this exception to be thrown |
|
| 27 | + * |
|
| 28 | + * @return mixed |
|
| 29 | + */ |
|
| 30 | 30 | public function getValue() |
| 31 | 31 | { |
| 32 | 32 | return $this->value; |
@@ -25,8 +25,8 @@ discard block |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | /** |
| 28 | - * Encode an array into either an array of a dictionary |
|
| 29 | - */ |
|
| 28 | + * Encode an array into either an array of a dictionary |
|
| 29 | + */ |
|
| 30 | 30 | protected static function encodeArray(array $value): string |
| 31 | 31 | { |
| 32 | 32 | if (empty($value)) |
@@ -44,8 +44,8 @@ discard block |
||
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | - * Encode given ArrayObject instance into a dictionary |
|
| 48 | - */ |
|
| 47 | + * Encode given ArrayObject instance into a dictionary |
|
| 48 | + */ |
|
| 49 | 49 | protected static function encodeArrayObject(ArrayObject $dict): string |
| 50 | 50 | { |
| 51 | 51 | $vars = $dict->getArrayCopy(); |