Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 63a7431

Browse files
committed
Enhance error wording
1 parent 7988dec commit 63a7431

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Symfony/Component/Serializer/Mapping/Factory/ClassMetadataFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function __construct(LoaderInterface $loader, Cache $cache = null)
4848
$this->cache = $cache;
4949

5050
if (null !== $cache) {
51-
@trigger_error('Passing a Doctrine Cache instance as parameter is deprecated and will be removed in Symfony 4.0. Use the Psr6MetadataFactory class instead.', E_USER_DEPRECATED);
51+
@trigger_error('Passing a Doctrine Cache instance as 2nd parameter of the "Symfony\Component\Serializer\Mapping\Factory\ClassMetadataFactoryInterface" is deprecated. This parameter will be removed in Symfony 4.0. Use the "Symfony\Component\Serializer\Mapping\Factory\CacheMetadataFactory" class instead.', E_USER_DEPRECATED);
5252
}
5353
}
5454

0 commit comments

Comments
 (0)