@@ -591,6 +591,7 @@ discard block |
||
591 | 591 | * Sets the mapped identifier field of this class. |
592 | 592 | * |
593 | 593 | * @internal |
594 | + * @param string|null $identifier |
|
594 | 595 | */ |
595 | 596 | public function setIdentifier(?string $identifier) : void |
596 | 597 | { |
@@ -661,6 +662,7 @@ discard block |
||
661 | 662 | * |
662 | 663 | * @throws InvalidArgumentException If document class is not this class or |
663 | 664 | * a Proxy of this class. |
665 | + * @param \Doctrine\ODM\MongoDB\Event\PreLoadEventArgs[] $arguments |
|
664 | 666 | */ |
665 | 667 | public function invokeLifecycleCallbacks(string $event, object $document, ?array $arguments = null) : void |
666 | 668 | { |
@@ -1327,6 +1329,7 @@ discard block |
||
1327 | 1329 | * {@inheritDoc} |
1328 | 1330 | * |
1329 | 1331 | * Checks whether the class has a mapped association (embed or reference) with the given field name. |
1332 | + * @param string $fieldName |
|
1330 | 1333 | */ |
1331 | 1334 | public function hasAssociation($fieldName) : bool |
1332 | 1335 | { |
@@ -1694,6 +1697,7 @@ discard block |
||
1694 | 1697 | /** |
1695 | 1698 | * Sets the name of the field that is to be used for versioning if this class is |
1696 | 1699 | * versioned for optimistic locking. |
1700 | + * @param string|null $versionField |
|
1697 | 1701 | */ |
1698 | 1702 | public function setVersionField(?string $versionField) : void |
1699 | 1703 | { |
@@ -1775,6 +1779,8 @@ discard block |
||
1775 | 1779 | |
1776 | 1780 | /** |
1777 | 1781 | * {@inheritDoc} |
1782 | + * @param string|null $fieldName |
|
1783 | + * @return string |
|
1778 | 1784 | */ |
1779 | 1785 | public function getTypeOfField($fieldName) : ?string |
1780 | 1786 | { |
@@ -2007,7 +2013,7 @@ discard block |
||
2007 | 2013 | * - reflClass (ReflectionClass) |
2008 | 2014 | * - reflFields (ReflectionProperty array) |
2009 | 2015 | * |
2010 | - * @return array The names of all the fields that should be serialized. |
|
2016 | + * @return string[] The names of all the fields that should be serialized. |
|
2011 | 2017 | */ |
2012 | 2018 | public function __sleep() |
2013 | 2019 | { |