1
0
mirror of synced 2025-02-02 21:41:45 +03:00

Fix superflous whitespaces & empty lines

This commit is contained in:
bilouwan 2015-12-02 14:09:14 +01:00 committed by Marco Pivetta
parent 7071984559
commit e173c930ec
3 changed files with 2 additions and 8 deletions

View File

@ -5,7 +5,6 @@ namespace Doctrine\Tests\Models\VersionedOneToMany;
use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\ArrayCollection;
/** /**
*
* @Entity * @Entity
* @Table(name="article") * @Table(name="article")
*/ */
@ -38,7 +37,6 @@ class Article
/** /**
* Category constructor. * Category constructor.
*
*/ */
public function __construct() public function __construct()
{ {

View File

@ -5,7 +5,6 @@ namespace Doctrine\Tests\Models\VersionedOneToMany;
use Doctrine\Common\Collections\ArrayCollection; use Doctrine\Common\Collections\ArrayCollection;
/** /**
*
* @Entity * @Entity
* @Table(name="category") * @Table(name="category")
*/ */
@ -38,12 +37,9 @@ class Category
/** /**
* Category constructor. * Category constructor.
*
*/ */
public function __construct() public function __construct()
{ {
$this->articles = new ArrayCollection(); $this->articles = new ArrayCollection();
} }
} }

View File

@ -29,8 +29,8 @@ class MergeVersionedOneToManyTest extends \Doctrine\Tests\OrmFunctionalTestCase
} }
/** /**
* This test case tests that a versionable entity, that has a oneToOne relationship as it's id can be created * This test case asserts that a detached and unmodified entity could be merge without firing
* without this bug fix (DDC-3318), you could not do this * OptimisticLockException.
*/ */
public function testSetVersionOnCreate() public function testSetVersionOnCreate()
{ {