Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: Nguyen Van Nguyen <nguyennv1981@gmail.com>
  • Loading branch information
nguyennv committed Apr 23, 2024
1 parent 651ba8b commit c5682d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
],
"require": {
"php": "^8.1",
"jms/serializer": "^3.20",
"jms/serializer": "^3.30",
"psr-discovery/http-client-implementations": "^1.0",
"psr-discovery/http-factory-implementations": "^1.0",
"psr/http-client": "^1.0",
Expand Down
2 changes: 1 addition & 1 deletion src/Common/Serializer/AttributeDriverFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function __construct(
/**
* {@inheritdoc}
*/
public function createDriver(array $metadataDirs, Reader $annotationReader): DriverInterface
public function createDriver(array $metadataDirs, ?Reader $annotationReader = null): DriverInterface

Check failure on line 76 in src/Common/Serializer/AttributeDriverFactory.php

View workflow job for this annotation

GitHub Actions / build (8.1, lowest)

Parameter $annotationReader of method Zimbra\Common\Serializer\AttributeDriverFactory::createDriver() has invalid type Doctrine\Common\Annotations\Reader.

Check failure on line 76 in src/Common/Serializer/AttributeDriverFactory.php

View workflow job for this annotation

GitHub Actions / build (8.1, highest)

Parameter $annotationReader of method Zimbra\Common\Serializer\AttributeDriverFactory::createDriver() has invalid type Doctrine\Common\Annotations\Reader.

Check failure on line 76 in src/Common/Serializer/AttributeDriverFactory.php

View workflow job for this annotation

GitHub Actions / build (8.2, lowest)

Parameter $annotationReader of method Zimbra\Common\Serializer\AttributeDriverFactory::createDriver() has invalid type Doctrine\Common\Annotations\Reader.

Check failure on line 76 in src/Common/Serializer/AttributeDriverFactory.php

View workflow job for this annotation

GitHub Actions / build (8.2, highest)

Parameter $annotationReader of method Zimbra\Common\Serializer\AttributeDriverFactory::createDriver() has invalid type Doctrine\Common\Annotations\Reader.
{
$driver = new AttributeDriver(
$this->propertyNamingStrategy, $this->typeParser
Expand Down

0 comments on commit c5682d3

Please sign in to comment.