@@ -188,6 +188,9 @@ discard block |
||
188 | 188 | return $this->snapshot; |
189 | 189 | } |
190 | 190 | |
191 | + /** |
|
192 | + * @param boolean $state |
|
193 | + */ |
|
191 | 194 | public function setInitialized($state) |
192 | 195 | { |
193 | 196 | $this->initialized = (bool)$state; |
@@ -452,7 +455,7 @@ discard block |
||
452 | 455 | * Internal note: Tried to implement Serializable first but that did not work well |
453 | 456 | * with circular references. This solution seems simpler and works well. |
454 | 457 | * |
455 | - * @return array |
|
458 | + * @return string[] |
|
456 | 459 | */ |
457 | 460 | public function __sleep() |
458 | 461 | { |
@@ -28,7 +28,7 @@ |
||
28 | 28 | private $clients = []; |
29 | 29 | |
30 | 30 | /** |
31 | - * @return mixed |
|
31 | + * @return ClientRegistryInterface |
|
32 | 32 | */ |
33 | 33 | public function getRegistry() |
34 | 34 | { |
@@ -172,7 +172,7 @@ discard block |
||
172 | 172 | } |
173 | 173 | |
174 | 174 | /** |
175 | - * @param $className |
|
175 | + * @param string $className |
|
176 | 176 | * @param \stdClass $data |
177 | 177 | * |
178 | 178 | * @return ObjectManagerAware|object |
@@ -230,7 +230,7 @@ discard block |
||
230 | 230 | * INTERNAL: |
231 | 231 | * Registers an entity as managed. |
232 | 232 | * |
233 | - * @param object $entity The entity. |
|
233 | + * @param Proxy $entity The entity. |
|
234 | 234 | * @param array $id The identifier values. |
235 | 235 | * @param \stdClass|null $data The original entity data. |
236 | 236 | * |
@@ -50,7 +50,7 @@ |
||
50 | 50 | } |
51 | 51 | |
52 | 52 | /** |
53 | - * @param $className |
|
53 | + * @param string $className |
|
54 | 54 | * |
55 | 55 | * @return \ReflectionProperty[] indexed by property internal name |
56 | 56 | */ |