@@ -32,6 +32,9 @@ |
||
32 | 32 | */ |
33 | 33 | private $format; |
34 | 34 | |
35 | + /** |
|
36 | + * @param string $distributionHash |
|
37 | + */ |
|
35 | 38 | function __construct($distributionHash) { |
36 | 39 | $this->distributionHash = $distributionHash; |
37 | 40 | } |
@@ -25,6 +25,9 @@ |
||
25 | 25 | */ |
26 | 26 | private $pois; |
27 | 27 | |
28 | + /** |
|
29 | + * @param string $name |
|
30 | + */ |
|
28 | 31 | function __construct($name) { |
29 | 32 | $this->name = $name; |
30 | 33 | } |
@@ -29,6 +29,9 @@ |
||
29 | 29 | */ |
30 | 30 | private $file; |
31 | 31 | |
32 | + /** |
|
33 | + * @param string $file |
|
34 | + */ |
|
32 | 35 | function __construct($poi, $file) { |
33 | 36 | $this->poi = $poi; |
34 | 37 | $this->file = $file; |
@@ -28,6 +28,9 @@ |
||
28 | 28 | */ |
29 | 29 | public $stocks; |
30 | 30 | |
31 | + /** |
|
32 | + * @param string $name |
|
33 | + */ |
|
31 | 34 | public function __construct($name) |
32 | 35 | { |
33 | 36 | $this->name = $name; |
@@ -94,6 +94,7 @@ |
||
94 | 94 | } |
95 | 95 | |
96 | 96 | /** |
97 | + * @param State $owner |
|
97 | 98 | * @return \Doctrine\ORM\PersistentCollection |
98 | 99 | */ |
99 | 100 | protected function createCollection($owner, $assoc = null, $class = null, $elements = null) |
@@ -6,11 +6,9 @@ |
||
6 | 6 | use Doctrine\ORM\Cache\Persister\Collection\CachedCollectionPersister; |
7 | 7 | use Doctrine\ORM\PersistentCollection; |
8 | 8 | use Doctrine\Tests\OrmTestCase; |
9 | - |
|
10 | 9 | use Doctrine\ORM\Cache\Region; |
11 | 10 | use Doctrine\ORM\EntityManager; |
12 | 11 | use Doctrine\ORM\Persisters\Collection\CollectionPersister; |
13 | - |
|
14 | 12 | use Doctrine\Tests\Models\Cache\State; |
15 | 13 | use Doctrine\Common\Collections\ArrayCollection; |
16 | 14 |
@@ -114,7 +114,7 @@ |
||
114 | 114 | } |
115 | 115 | |
116 | 116 | /** |
117 | - * @return \Doctrine\ORM\Cache\Persister\AbstractEntityPersister |
|
117 | + * @return \Doctrine\ORM\Cache\Persister\Entity\AbstractEntityPersister |
|
118 | 118 | */ |
119 | 119 | protected function createPersisterDefault() |
120 | 120 | { |
@@ -27,7 +27,7 @@ |
||
27 | 27 | } |
28 | 28 | |
29 | 29 | /** |
30 | - * @param string $className |
|
30 | + * @param string $classNames |
|
31 | 31 | * @return ClassMetadata |
32 | 32 | */ |
33 | 33 | protected function extractClassMetadata(array $classNames) |
@@ -375,8 +375,16 @@ |
||
375 | 375 | private $name; |
376 | 376 | public function getId() {return $this->id;} |
377 | 377 | public function getValue() {return $this->value;} |
378 | + |
|
379 | + /** |
|
380 | + * @param string $value |
|
381 | + */ |
|
378 | 382 | public function setValue($value) {$this->value = $value;} |
379 | 383 | public function getName() {return $this->name;} |
384 | + |
|
385 | + /** |
|
386 | + * @param string $name |
|
387 | + */ |
|
380 | 388 | public function setName($name) {$this->name = $name;} |
381 | 389 | /** @PreUpdate */ |
382 | 390 | public function testCallback() {$this->value = 'Hello World';} |
@@ -141,6 +141,9 @@ |
||
141 | 141 | return $this->session; |
142 | 142 | } |
143 | 143 | |
144 | + /** |
|
145 | + * @param string $session |
|
146 | + */ |
|
144 | 147 | public function setSession($session) |
145 | 148 | { |
146 | 149 | $this->session = $session; |