Skip to content

Commit

Permalink
Merge pull request #4 from signnow/update_version
Browse files Browse the repository at this point in the history
Update package version
  • Loading branch information
falgonua authored Jun 23, 2021
2 parents 5fe588e + 1f72072 commit 52f6969
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,15 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [v1.1.0] - 2021-06-18

## [v2.0.0] - 2021-06-23
### Added

- Add new file entity to serialize

### Changed

- Refactor factories
- Update serializer version
- Update jms/serializer to 3+ version
- Update guzzle to 7+ version

### Deprecated
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"php": ">=7.1",
"guzzlehttp/guzzle": "^7.0.0",
"doctrine/annotations": "~1.6",
"jms/serializer": "1.14.*",
"jms/serializer": "^3.12.0",
"ext-ctype": "*",
"ext-json": "*"
},
Expand Down
4 changes: 2 additions & 2 deletions src/EntityManager/Annotation/ResponseType.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
namespace SignNow\Rest\EntityManager\Annotation;

use InvalidArgumentException;
use JMS\Serializer\TypeParser;
use JMS\Serializer\Type\Parser;
use SignNow\Rest\Entity\Binary;
use Throwable;

Expand Down Expand Up @@ -46,7 +46,7 @@ public function initialize(...$args)
}

try {
(new TypeParser())->parse($this->type);
(new Parser())->parse($this->type);
} catch (Throwable $e) {
throw new InvalidArgumentException('Invalid response type format: ' . $e->getMessage());
}
Expand Down

0 comments on commit 52f6969

Please sign in to comment.