some formatting and cleaning up

This commit is contained in:
Lea Haensenberger 2013-07-18 10:54:11 +02:00
parent 300d189a9d
commit 77156b35aa
4 changed files with 6 additions and 8 deletions

View file

@ -38,7 +38,7 @@ class ObjectSerializerPersister extends ObjectPersister
* *
* @param object $object * @param object $object
* @return null * @return null
**/ */
public function replaceOne($object) public function replaceOne($object)
{ {
$document = $this->transformToElasticaDocument($object); $document = $this->transformToElasticaDocument($object);

View file

@ -113,7 +113,6 @@ class ModelToElasticaAutoTransformerTest extends \PHPUnit_Framework_TestCase
public function setUp() public function setUp()
{ {
if (!class_exists('Elastica\Document')) { if (!class_exists('Elastica\Document')) {
;
$this->markTestSkipped('The Elastica library classes are not available'); $this->markTestSkipped('The Elastica library classes are not available');
} }
} }

View file

@ -26,7 +26,6 @@ class ModelToElasticaIdentifierTransformerTest extends \PHPUnit_Framework_TestCa
public function setUp() public function setUp()
{ {
if (!class_exists('Elastica\Document')) { if (!class_exists('Elastica\Document')) {
;
$this->markTestSkipped('The Elastica library classes are not available'); $this->markTestSkipped('The Elastica library classes are not available');
} }
} }

View file

@ -5,8 +5,8 @@ namespace FOS\ElasticaBundle\Transformer;
use Elastica\Document; use Elastica\Document;
/** /**
* Creates an elastica document with the id of * Creates an Elastica document with the ID of
* the doctrine object as elastica document id * the Doctrine object as Elastica document ID
*/ */
class ModelToElasticaIdentifierTransformer extends ModelToElasticaAutoTransformer class ModelToElasticaIdentifierTransformer extends ModelToElasticaAutoTransformer
{ {