Commit 9c5ae4aa authored by dbourdere's avatar dbourdere 🤠

[FIX] fix wrong call of namespace

parent abc83a65
......@@ -4,6 +4,7 @@ namespace Aboutgoods\RabbitMQ;
use Aboutgoods\RabbitMQ\Exceptions\ClientNotConnectedException;
use Aboutgoods\RabbitMQ\Exceptions\InvalidObjectException;
use Aboutgoods\RabbitMQ\Tools\JsonSerializer;
use Aboutgoods\Jakku\DataBag\AbstractDataBag;
use Symfony\Component\Validator\ConstraintViolation;
use Symfony\Component\Validator\Validation;
use Doctrine\Common\Annotations\AnnotationRegistry;
......@@ -42,7 +43,7 @@ class RMQConnector
return self::$client;
}
public static function emit(DataBag\AbstractDataBag $dataBag)
public static function emit(AbstractDataBag $dataBag)
{
if ( ! class_exists('Doctrine\Common\Annotations\AnnotationRegistry', false)
&& class_exists('Doctrine\Common\Annotations\AnnotationRegistry')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment