Fix superflous whitespaces & empty lines
This commit is contained in:
parent
7071984559
commit
e173c930ec
@ -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()
|
||||||
{
|
{
|
||||||
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -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()
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user