From 46066465e79b22ddb17b910961eef29b64b8ef12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mantas=20Jonu=C5=A1as?= Date: Thu, 12 Feb 2015 12:52:28 +0200 Subject: [PATCH] Removed DocumentTrait from Pair document --- Document/Pair.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Document/Pair.php b/Document/Pair.php index 38c2ec1..e96bc41 100644 --- a/Document/Pair.php +++ b/Document/Pair.php @@ -12,18 +12,15 @@ namespace ONGR\ConnectionsBundle\Document; use ONGR\ElasticsearchBundle\Annotation as ES; -use ONGR\ElasticsearchBundle\Document\DocumentInterface; -use ONGR\ElasticsearchBundle\Document\DocumentTrait; +use ONGR\ElasticsearchBundle\Document\AbstractDocument; /** * Represents key / value pair, key is also document id. * * @ES\Document(type="pair") */ -class Pair implements DocumentInterface +class Pair extends AbstractDocument { - use DocumentTrait; - /** * @var string Serialized stored value. *