diff --git a/src/NotModified/Annotation/ReplaceWithNotModifiedResponse.php b/src/NotModified/Annotation/ReplaceWithNotModifiedResponse.php index 0ee5b4f..ec63a03 100644 --- a/src/NotModified/Annotation/ReplaceWithNotModifiedResponse.php +++ b/src/NotModified/Annotation/ReplaceWithNotModifiedResponse.php @@ -22,8 +22,8 @@ public function __construct(array $parameters) 'webfactory/http-cache-bundle', '1.4.0', 'The %s annotation has been deprecated, use the %s attribute instead.', - NotModified\Annotation\ReplaceWithNotModifiedResponse::class, - NotModified\Attribute\ReplaceWithNotModifiedResponse::class + __CLASS__ + \Webfactory\HttpCacheBundle\NotModified\Attribute\ReplaceWithNotModifiedResponse::class ); parent::__construct($parameters['value']);