@@ -112,6 +112,7 @@ |
||
| 112 | 112 | |
| 113 | 113 | /** |
| 114 | 114 | * Set file |
| 115 | + * @param DDC353File $value |
|
| 115 | 116 | */ |
| 116 | 117 | public function setFile($value) |
| 117 | 118 | { |
@@ -31,6 +31,9 @@ |
||
| 31 | 31 | /** @Embedded(class="DDC3582Embeddable1") @var DDC3582Embeddable1 */ |
| 32 | 32 | public $embeddable1; |
| 33 | 33 | |
| 34 | + /** |
|
| 35 | + * @param string $id |
|
| 36 | + */ |
|
| 34 | 37 | public function __construct($id) |
| 35 | 38 | { |
| 36 | 39 | $this->id = $id; |
@@ -200,6 +200,9 @@ discard block |
||
| 200 | 200 | */ |
| 201 | 201 | public $address; |
| 202 | 202 | |
| 203 | + /** |
|
| 204 | + * @param string $address |
|
| 205 | + */ |
|
| 203 | 206 | public function __construct($address) |
| 204 | 207 | { |
| 205 | 208 | $this->address = $address; |
@@ -226,6 +229,9 @@ discard block |
||
| 226 | 229 | */ |
| 227 | 230 | public $name; |
| 228 | 231 | |
| 232 | + /** |
|
| 233 | + * @param string $name |
|
| 234 | + */ |
|
| 229 | 235 | public function __construct($name) |
| 230 | 236 | { |
| 231 | 237 | $this->name = $name; |
@@ -103,6 +103,10 @@ |
||
| 103 | 103 | /** @Column(type = "string") */ |
| 104 | 104 | private $value; |
| 105 | 105 | |
| 106 | + /** |
|
| 107 | + * @param string $name |
|
| 108 | + * @param string $value |
|
| 109 | + */ |
|
| 106 | 110 | public function __construct($name, $value) |
| 107 | 111 | { |
| 108 | 112 | $this->name = $name; |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Shitty\Tests\ORM\Functional\Ticket; |
| 4 | 4 | |
| 5 | -use Shitty\ORM\UnitOfWork; |
|
| 6 | - |
|
| 7 | 5 | class DDC381Test extends \Shitty\Tests\OrmFunctionalTestCase |
| 8 | 6 | { |
| 9 | 7 | protected function setUp() |
@@ -2,8 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Shitty\Tests\ORM\Functional\Ticket; |
| 4 | 4 | |
| 5 | -use Shitty\Tests\Models\Company\CompanyPerson; |
|
| 6 | - |
|
| 7 | 5 | /** |
| 8 | 6 | * Tests that join columns (foreign keys) can be named the same as the association |
| 9 | 7 | * fields they're used on without causing issues. |
@@ -151,6 +151,9 @@ discard block |
||
| 151 | 151 | $this->books = new \Doctrine\Common\Collections\ArrayCollection; |
| 152 | 152 | } |
| 153 | 153 | |
| 154 | + /** |
|
| 155 | + * @param string $title |
|
| 156 | + */ |
|
| 154 | 157 | public function addBook($title) |
| 155 | 158 | { |
| 156 | 159 | $book = new DDC618Book($title, $this); |
@@ -175,6 +178,9 @@ discard block |
||
| 175 | 178 | /** @ManyToOne(targetEntity="DDC618Author", inversedBy="books") */ |
| 176 | 179 | public $author; |
| 177 | 180 | |
| 181 | + /** |
|
| 182 | + * @param DDC618Author $author |
|
| 183 | + */ |
|
| 178 | 184 | function __construct($title, $author) |
| 179 | 185 | { |
| 180 | 186 | $this->title = $title; |
@@ -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() |
@@ -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() |
@@ -66,6 +66,9 @@ discard block |
||
| 66 | 66 | return $this->name; |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | + /** |
|
| 70 | + * @param string $name |
|
| 71 | + */ |
|
| 69 | 72 | public function setName($name) { |
| 70 | 73 | $this->name = $name; |
| 71 | 74 | } |
@@ -74,6 +77,9 @@ discard block |
||
| 74 | 77 | return $this->type; |
| 75 | 78 | } |
| 76 | 79 | |
| 80 | + /** |
|
| 81 | + * @param string $type |
|
| 82 | + */ |
|
| 77 | 83 | public function setType($type) { |
| 78 | 84 | $this->type = $type; |
| 79 | 85 | } |
@@ -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() |