@@ -554,7 +554,7 @@ discard block |
||
| 554 | 554 | * Convert an array to a type definition object |
| 555 | 555 | * |
| 556 | 556 | * @param array|null $data |
| 557 | - * @return AbstractTypeDefinition|null |
|
| 557 | + * @return TypeDefinitionInterface |
|
| 558 | 558 | * @throws CmisInvalidArgumentException |
| 559 | 559 | */ |
| 560 | 560 | public function convertTypeDefinition(array $data = null) |
@@ -1601,7 +1601,7 @@ discard block |
||
| 1601 | 1601 | * Convert given input data to a TypeChildren object |
| 1602 | 1602 | * |
| 1603 | 1603 | * @param array|null $data |
| 1604 | - * @return TypeDefinitionListInterface|null Returns a TypeDefinitionListInterface object or <code>null</code> |
|
| 1604 | + * @return null|TypeDefinitionList Returns a TypeDefinitionListInterface object or <code>null</code> |
|
| 1605 | 1605 | * if empty data is given. |
| 1606 | 1606 | */ |
| 1607 | 1607 | public function convertTypeChildren(array $data = null) |
@@ -74,16 +74,16 @@ discard block |
||
| 74 | 74 | * @param SessionInterface $session The initialized Session for communicating |
| 75 | 75 | * @param string $statement Optional, manually prepared statement. If provided, |
| 76 | 76 | * excludes the use of property list, type list, where clause and ordering. |
| 77 | - * @param array $selectPropertyIds An array PropertyDefinitionInterface |
|
| 77 | + * @param string[] $selectPropertyIds An array PropertyDefinitionInterface |
|
| 78 | 78 | * or strings, can be mixed. When strings are provided those can be |
| 79 | 79 | * either the actual ID of the property or the query name thereof. |
| 80 | - * @param array $fromTypes An array of TypeDefinitionInterface or strings, |
|
| 80 | + * @param string[] $fromTypes An array of TypeDefinitionInterface or strings, |
|
| 81 | 81 | * can be mixed. When strings are provided those can be either the |
| 82 | 82 | * actual ID of the type, or it can be the query name thereof. If |
| 83 | 83 | * an array of arrays is provided, each array is expected to contain |
| 84 | 84 | * a TypeDefinition or string as first member and an alias as second. |
| 85 | 85 | * @param string|null $whereClause If searching by custom clause, provide here. |
| 86 | - * @param array $orderByPropertyIds List of property IDs by which to sort. |
|
| 86 | + * @param string[] $orderByPropertyIds List of property IDs by which to sort. |
|
| 87 | 87 | * Each value can be either a PropertyDefinitionInterface instance, |
| 88 | 88 | * a string (in which case, ID or queryName) or an array of a string |
| 89 | 89 | * or PropertyDefinition as first member and ASC or DESC as second. |
@@ -495,7 +495,7 @@ discard block |
||
| 495 | 495 | /** |
| 496 | 496 | * Escapes string for query |
| 497 | 497 | * |
| 498 | - * @param $string |
|
| 498 | + * @param string $string |
|
| 499 | 499 | * @return string |
| 500 | 500 | */ |
| 501 | 501 | protected function escape($string) |
@@ -506,7 +506,7 @@ discard block |
||
| 506 | 506 | /** |
| 507 | 507 | * Escapes string, but not escapes backslashes ('\') in front of '%' and '_'. |
| 508 | 508 | * |
| 509 | - * @param $string |
|
| 509 | + * @param string $string |
|
| 510 | 510 | * @return string |
| 511 | 511 | */ |
| 512 | 512 | protected function escapeLike($string) |
@@ -523,7 +523,7 @@ discard block |
||
| 523 | 523 | /** |
| 524 | 524 | * Escapes string, but not escapes backslashes ('\') in front of '*' and '?'. |
| 525 | 525 | * |
| 526 | - * @param $string |
|
| 526 | + * @param string $string |
|
| 527 | 527 | * @return string |
| 528 | 528 | */ |
| 529 | 529 | protected function escapeContains($string) |
@@ -347,7 +347,7 @@ discard block |
||
| 347 | 347 | * either using the ACL from folderId if specified, or being applied if no folderId is specified. |
| 348 | 348 | * @param AceInterface[] $removeAces A list of ACEs that MUST be removed from the newly-created document |
| 349 | 349 | * object, either using the ACL from folderId if specified, or being ignored if no folderId is specified. |
| 350 | - * @return ObjectIdInterface|null the object ID of the new document or <code>null</code> if the document could not |
|
| 350 | + * @return null|ObjectId the object ID of the new document or <code>null</code> if the document could not |
|
| 351 | 351 | * be created. |
| 352 | 352 | * @throws CmisInvalidArgumentException Throws an <code>CmisInvalidArgumentException</code> if empty |
| 353 | 353 | * property list is given |
@@ -416,7 +416,7 @@ discard block |
||
| 416 | 416 | * either using the ACL from folderId if specified, or being applied if no folderId is specified. |
| 417 | 417 | * @param AceInterface[] $removeAces A list of ACEs that MUST be removed from the newly-created document |
| 418 | 418 | * object, either using the ACL from folderId if specified, or being ignored if no folderId is specified. |
| 419 | - * @return ObjectIdInterface|null the object ID of the new document or <code>null</code> if the document could not |
|
| 419 | + * @return null|ObjectId the object ID of the new document or <code>null</code> if the document could not |
|
| 420 | 420 | * be created. |
| 421 | 421 | * @throws CmisInvalidArgumentException Throws an <code>CmisInvalidArgumentException</code> if empty |
| 422 | 422 | * property list is given |
@@ -663,7 +663,7 @@ discard block |
||
| 663 | 663 | * @param PolicyInterface[] $policies |
| 664 | 664 | * @param AceInterface[] $addAces |
| 665 | 665 | * @param AceInterface[] $removeAces |
| 666 | - * @return ObjectIdInterface|null the object ID of the new relationship or <code>null</code> if the relationship |
|
| 666 | + * @return null|ObjectId the object ID of the new relationship or <code>null</code> if the relationship |
|
| 667 | 667 | * could not be created |
| 668 | 668 | */ |
| 669 | 669 | public function createRelationship( |
@@ -993,7 +993,7 @@ discard block |
||
| 993 | 993 | * @param RelationshipDirection $relationshipDirection |
| 994 | 994 | * @param ObjectTypeInterface $type |
| 995 | 995 | * @param OperationContextInterface|null $context |
| 996 | - * @return RelationshipInterface[] |
|
| 996 | + * @return Data\ObjectListInterface |
|
| 997 | 997 | */ |
| 998 | 998 | public function getRelationships( |
| 999 | 999 | ObjectIdInterface $objectId, |
@@ -831,7 +831,7 @@ discard block |
||
| 831 | 831 | * @param integer $skipCount number of potential results that the repository MUST skip/page over before |
| 832 | 832 | * returning any results (default is 0) |
| 833 | 833 | * @param ExtensionDataInterface|null $extension |
| 834 | - * @return RenditionDataInterface[] |
|
| 834 | + * @return \Dkd\PhpCmis\DataObjects\RenditionData[] |
|
| 835 | 835 | * @throws CmisInvalidArgumentException If object id is empty or skip count not of type integer |
| 836 | 836 | */ |
| 837 | 837 | public function getRenditions( |
@@ -875,7 +875,7 @@ discard block |
||
| 875 | 875 | * @param string $targetFolderId the identifier for the target folder |
| 876 | 876 | * @param string $sourceFolderId the identifier for the source folder |
| 877 | 877 | * @param ExtensionDataInterface|null $extension |
| 878 | - * @return ObjectDataInterface|null Returns object of type ObjectDataInterface or <code>null</code> |
|
| 878 | + * @return null|\Dkd\PhpCmis\DataObjects\ObjectData Returns object of type ObjectDataInterface or <code>null</code> |
|
| 879 | 879 | * if the repository response was empty |
| 880 | 880 | */ |
| 881 | 881 | public function moveObject( |
@@ -1021,7 +1021,7 @@ discard block |
||
| 1021 | 1021 | /** |
| 1022 | 1022 | * @param string $identifier |
| 1023 | 1023 | * @param mixed $additionalHashValues |
| 1024 | - * @return array |
|
| 1024 | + * @return string[] |
|
| 1025 | 1025 | */ |
| 1026 | 1026 | protected function createCacheKey($identifier, $additionalHashValues) |
| 1027 | 1027 | { |
@@ -1050,7 +1050,7 @@ discard block |
||
| 1050 | 1050 | /** |
| 1051 | 1051 | * Gets the cached object with cache key $identifier. |
| 1052 | 1052 | * |
| 1053 | - * @param string $identifier |
|
| 1053 | + * @param string[] $identifier |
|
| 1054 | 1054 | * @return mixed |
| 1055 | 1055 | */ |
| 1056 | 1056 | protected function getCached(array $identifier) |
@@ -1079,7 +1079,7 @@ discard block |
||
| 1079 | 1079 | /** |
| 1080 | 1080 | * Gets the cached object with cache key $identifier. |
| 1081 | 1081 | * |
| 1082 | - * @param string $identifier |
|
| 1082 | + * @param string[] $identifier |
|
| 1083 | 1083 | * @param mixed $object |
| 1084 | 1084 | * @return mixed |
| 1085 | 1085 | */ |