@@ -373,6 +373,9 @@ discard block |
||
373 | 373 | return $this->items; |
374 | 374 | } |
375 | 375 | |
376 | + /** |
|
377 | + * @param string $value |
|
378 | + */ |
|
376 | 379 | public function setTransient($value) { |
377 | 380 | if ($value != $this->transient) { |
378 | 381 | $this->_onPropertyChanged('transient', $this->transient, $value); |
@@ -384,6 +387,9 @@ discard block |
||
384 | 387 | return $this->data; |
385 | 388 | } |
386 | 389 | |
390 | + /** |
|
391 | + * @param string $data |
|
392 | + */ |
|
387 | 393 | public function setData($data) { |
388 | 394 | if ($data != $this->data) { |
389 | 395 | $this->_onPropertyChanged('data', $this->data, $data); |
@@ -396,6 +402,9 @@ discard block |
||
396 | 402 | $this->_listeners[] = $listener; |
397 | 403 | } |
398 | 404 | |
405 | + /** |
|
406 | + * @param string $propName |
|
407 | + */ |
|
399 | 408 | protected function _onPropertyChanged($propName, $oldValue, $newValue) { |
400 | 409 | if ($this->_listeners) { |
401 | 410 | foreach ($this->_listeners as $listener) { |
@@ -426,6 +435,9 @@ discard block |
||
426 | 435 | return $this->owner; |
427 | 436 | } |
428 | 437 | |
438 | + /** |
|
439 | + * @param NotifyChangedEntity|null $owner |
|
440 | + */ |
|
429 | 441 | public function setOwner($owner) { |
430 | 442 | $this->owner = $owner; |
431 | 443 | } |
@@ -52,7 +52,7 @@ |
||
52 | 52 | protected $secondLevelCacheDriverImpl = null; |
53 | 53 | |
54 | 54 | /** |
55 | - * @param array $paths |
|
55 | + * @param string[] $paths |
|
56 | 56 | * @param mixed $alias |
57 | 57 | * |
58 | 58 | * @return \Doctrine\ORM\Mapping\Driver\AnnotationDriver |
@@ -90,6 +90,9 @@ |
||
90 | 90 | return $this->name; |
91 | 91 | } |
92 | 92 | |
93 | + /** |
|
94 | + * @param string $name |
|
95 | + */ |
|
93 | 96 | public function setName($name) |
94 | 97 | { |
95 | 98 | $this->name = $name; |
@@ -90,6 +90,9 @@ |
||
90 | 90 | return $this->name; |
91 | 91 | } |
92 | 92 | |
93 | + /** |
|
94 | + * @param string $name |
|
95 | + */ |
|
93 | 96 | public function setName($name) |
94 | 97 | { |
95 | 98 | $this->name = $name; |
@@ -90,6 +90,9 @@ |
||
90 | 90 | return $this->name; |
91 | 91 | } |
92 | 92 | |
93 | + /** |
|
94 | + * @param string $name |
|
95 | + */ |
|
93 | 96 | public function setName($name) |
94 | 97 | { |
95 | 98 | $this->name = $name; |
@@ -51,6 +51,10 @@ |
||
51 | 51 | $this->_em = $this->_getTestEntityManager(); |
52 | 52 | } |
53 | 53 | |
54 | + /** |
|
55 | + * @param string $dqlToBeTested |
|
56 | + * @param string $sqlToBeConfirmed |
|
57 | + */ |
|
54 | 58 | public function assertSqlGeneration($dqlToBeTested, $sqlToBeConfirmed) |
55 | 59 | { |
56 | 60 | try { |
@@ -51,6 +51,10 @@ |
||
51 | 51 | $this->_em = $this->_getTestEntityManager(); |
52 | 52 | } |
53 | 53 | |
54 | + /** |
|
55 | + * @param string $dqlToBeTested |
|
56 | + * @param string $sqlToBeConfirmed |
|
57 | + */ |
|
54 | 58 | public function assertSqlGeneration($dqlToBeTested, $sqlToBeConfirmed) |
55 | 59 | { |
56 | 60 | try { |
@@ -83,6 +83,7 @@ |
||
83 | 83 | |
84 | 84 | /** |
85 | 85 | * {@inheritDoc} |
86 | + * @param string $value |
|
86 | 87 | */ |
87 | 88 | public function setValue($object, $value = null) |
88 | 89 | { |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Doctrine\Instantiator\Instantiator; |
6 | 6 | use Doctrine\ORM\Mapping\ReflectionEmbeddedProperty; |
7 | -use Doctrine\Tests\Models\Mapping\Entity; |
|
8 | 7 | use ReflectionProperty; |
9 | 8 | |
10 | 9 | /** |