@@ -1173,7 +1173,7 @@ discard block |
||
1173 | 1173 | /** |
1174 | 1174 | * Schedules an entity for being updated. |
1175 | 1175 | * |
1176 | - * @param object $entity The entity to schedule for being updated. |
|
1176 | + * @param \Doctrine\Tests\Models\Forum\ForumUser $entity The entity to schedule for being updated. |
|
1177 | 1177 | * |
1178 | 1178 | * @return void |
1179 | 1179 | * |
@@ -1241,7 +1241,7 @@ discard block |
||
1241 | 1241 | /** |
1242 | 1242 | * Checks whether an entity is registered to be checked in the unit of work. |
1243 | 1243 | * |
1244 | - * @param object $entity |
|
1244 | + * @param \Doctrine\Tests\ORM\NotifyChangedEntity $entity |
|
1245 | 1245 | * |
1246 | 1246 | * @return boolean |
1247 | 1247 | */ |
@@ -2822,9 +2822,9 @@ discard block |
||
2822 | 2822 | /** |
2823 | 2823 | * Notifies this UnitOfWork of a property change in an entity. |
2824 | 2824 | * |
2825 | - * @param object $entity The entity that owns the property. |
|
2825 | + * @param \Doctrine\Tests\Models\CustomType\CustomTypeParent $entity The entity that owns the property. |
|
2826 | 2826 | * @param string $propertyName The name of the property that changed. |
2827 | - * @param mixed $oldValue The old value of the property. |
|
2827 | + * @param integer|null $oldValue The old value of the property. |
|
2828 | 2828 | * @param mixed $newValue The new value of the property. |
2829 | 2829 | * |
2830 | 2830 | * @return void |
@@ -3023,7 +3023,7 @@ discard block |
||
3023 | 3023 | /** |
3024 | 3024 | * Verifies if two given entities actually are the same based on identifier comparison |
3025 | 3025 | * |
3026 | - * @param object $entity1 |
|
3026 | + * @param GhostObjectInterface $entity1 |
|
3027 | 3027 | * @param object $entity2 |
3028 | 3028 | * |
3029 | 3029 | * @return bool |
@@ -86,6 +86,9 @@ discard block |
||
86 | 86 | } |
87 | 87 | } |
88 | 88 | |
89 | + /** |
|
90 | + * @param string $propName |
|
91 | + */ |
|
89 | 92 | protected function onPropertyChanged($propName, $oldValue, $newValue) { |
90 | 93 | foreach ($this->listeners as $listener) { |
91 | 94 | $listener->propertyChanged($this, $propName, $oldValue, $newValue); |
@@ -112,11 +115,17 @@ discard block |
||
112 | 115 | return $this->name; |
113 | 116 | } |
114 | 117 | |
118 | + /** |
|
119 | + * @param string $name |
|
120 | + */ |
|
115 | 121 | function setName($name) { |
116 | 122 | $this->onPropertyChanged('name', $this->name, $name); |
117 | 123 | $this->name = $name; |
118 | 124 | } |
119 | 125 | |
126 | + /** |
|
127 | + * @param DDC1690Child $child |
|
128 | + */ |
|
120 | 129 | function setChild($child) { |
121 | 130 | $this->child = $child; |
122 | 131 | } |
@@ -145,11 +154,17 @@ discard block |
||
145 | 154 | return $this->name; |
146 | 155 | } |
147 | 156 | |
157 | + /** |
|
158 | + * @param string $name |
|
159 | + */ |
|
148 | 160 | function setName($name) { |
149 | 161 | $this->onPropertyChanged('name', $this->name, $name); |
150 | 162 | $this->name = $name; |
151 | 163 | } |
152 | 164 | |
165 | + /** |
|
166 | + * @param DDC1690Parent $parent |
|
167 | + */ |
|
153 | 168 | function setParent($parent) { |
154 | 169 | $this->parent = $parent; |
155 | 170 | } |