@@ -2,9 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
4 | 4 | |
5 | -use Doctrine\Common\Collections\ArrayCollection; |
|
6 | 5 | use Doctrine\Tests\Models\CMS\CmsUser; |
7 | -use Doctrine\Tests\Models\CMS\CmsGroup; |
|
8 | 6 | use Doctrine\Tests\Models\CMS\CmsPhonenumber; |
9 | 7 | |
10 | 8 | /** |
@@ -173,6 +173,10 @@ discard block |
||
173 | 173 | */ |
174 | 174 | public $phones; |
175 | 175 | |
176 | + /** |
|
177 | + * @param string $email |
|
178 | + * @param string $name |
|
179 | + */ |
|
176 | 180 | public function __construct($email, $name, array $numbers = array()) |
177 | 181 | { |
178 | 182 | $this->name = $name; |
@@ -208,6 +212,9 @@ discard block |
||
208 | 212 | */ |
209 | 213 | public $user; |
210 | 214 | |
215 | + /** |
|
216 | + * @param DDC1335User $user |
|
217 | + */ |
|
211 | 218 | public function __construct($user, $number) |
212 | 219 | { |
213 | 220 | $this->user = $user; |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
4 | 4 | |
5 | -use DateTime; |
|
6 | - |
|
7 | 5 | class DDC698Test extends \Doctrine\Tests\OrmFunctionalTestCase |
8 | 6 | { |
9 | 7 | protected function setUp() |
@@ -89,6 +89,7 @@ |
||
89 | 89 | |
90 | 90 | /** |
91 | 91 | * Set file |
92 | + * @param DDC1392File $value |
|
92 | 93 | */ |
93 | 94 | public function setFile($value = null) |
94 | 95 | { |
@@ -170,6 +170,9 @@ |
||
170 | 170 | return $this->id; |
171 | 171 | } |
172 | 172 | |
173 | + /** |
|
174 | + * @param string $status |
|
175 | + */ |
|
173 | 176 | public function __construct($status) |
174 | 177 | { |
175 | 178 | $this->status = $status; |
@@ -81,6 +81,9 @@ |
||
81 | 81 | return $this->parent; |
82 | 82 | } |
83 | 83 | |
84 | + /** |
|
85 | + * @param null|DDC1436Page $parent |
|
86 | + */ |
|
84 | 87 | public function setParent($parent) |
85 | 88 | { |
86 | 89 | $this->parent = $parent; |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | -use Doctrine\ORM\UnitOfWork; |
|
7 | 6 | |
8 | 7 | /** |
9 | 8 | * @group DDC-1514 |
@@ -2,10 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
4 | 4 | |
5 | -use Doctrine\Common\Collections\ArrayCollection; |
|
6 | -use Doctrine\Tests\Models\CMS\CmsArticle; |
|
7 | -use Doctrine\Tests\Models\CMS\CmsUser; |
|
8 | - |
|
9 | 5 | /** |
10 | 6 | * @group DDC-1461 |
11 | 7 | */ |
@@ -85,6 +85,7 @@ discard block |
||
85 | 85 | |
86 | 86 | /** |
87 | 87 | * Set file |
88 | + * @param DDC1509File $value |
|
88 | 89 | */ |
89 | 90 | public function setFile($value = null) |
90 | 91 | { |
@@ -104,6 +105,9 @@ discard block |
||
104 | 105 | return $this->thumbnail; |
105 | 106 | } |
106 | 107 | |
108 | + /** |
|
109 | + * @param DDC1509File $thumbnail |
|
110 | + */ |
|
107 | 111 | public function setThumbnail($thumbnail) |
108 | 112 | { |
109 | 113 | $this->thumbnail = $thumbnail; |
@@ -2,8 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
4 | 4 | |
5 | -use Doctrine\ORM\UnitOfWork; |
|
6 | - |
|
7 | 5 | class DDC381Test extends \Doctrine\Tests\OrmFunctionalTestCase |
8 | 6 | { |
9 | 7 | protected function setUp() |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
4 | 4 | |
5 | 5 | use Doctrine\Common\Collections\ArrayCollection; |
6 | -use Doctrine\ORM\UnitOfWork; |
|
7 | 6 | |
8 | 7 | /** |
9 | 8 | * @group DDC-1514 |
@@ -2,10 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Doctrine\Tests\ORM\Functional\Ticket; |
4 | 4 | |
5 | -use Doctrine\Common\Collections\ArrayCollection; |
|
6 | - |
|
7 | -use Doctrine\Tests\Models\CMS\CmsComment; |
|
8 | -use Doctrine\Tests\Models\CMS\CmsArticle; |
|
9 | 5 | use Doctrine\Tests\Models\CMS\CmsUser; |
10 | 6 | |
11 | 7 | /** |