@@ -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) |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | |
| 13 | 13 | use Dkd\PhpCmis\Constants; |
| 14 | 14 | use Dkd\PhpCmis\Data\AclInterface; |
| 15 | -use Dkd\PhpCmis\PropertyIds; |
|
| 16 | 15 | use GuzzleHttp\Stream\StreamInterface; |
| 17 | 16 | use Dkd\PhpCmis\Data\ExtensionDataInterface; |
| 18 | 17 | use Dkd\PhpCmis\Data\ObjectDataInterface; |
@@ -202,7 +202,7 @@ |
||
| 202 | 202 | * @param boolean $includeAcl if <code>true</code>, then the repository must return the ACL for the object |
| 203 | 203 | * (default is <code>false</code>) |
| 204 | 204 | * @param ExtensionDataInterface|null $extension |
| 205 | - * @return ObjectDataInterface |
|
| 205 | + * @return null|\Dkd\PhpCmis\DataObjects\ObjectData |
|
| 206 | 206 | */ |
| 207 | 207 | public function getObjectOfLatestVersion( |
| 208 | 208 | $repositoryId, |
@@ -326,7 +326,7 @@ |
||
| 326 | 326 | * |
| 327 | 327 | * @param boolean $refresh if this parameter is set to <code>true</code>, this object will be refreshed after the |
| 328 | 328 | * content stream has been deleted |
| 329 | - * @return DocumentInterface|null the updated document, or <code>null</code> if the repository did not return |
|
| 329 | + * @return null|\Dkd\PhpCmis\CmisObject\CmisObjectInterface the updated document, or <code>null</code> if the repository did not return |
|
| 330 | 330 | * an object ID |
| 331 | 331 | */ |
| 332 | 332 | public function deleteContentStream($refresh = true) |
@@ -993,7 +993,7 @@ |
||
| 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, |
@@ -839,7 +839,7 @@ discard block |
||
| 839 | 839 | * @param integer $skipCount number of potential results that the repository MUST skip/page over before |
| 840 | 840 | * returning any results (default is 0) |
| 841 | 841 | * @param ExtensionDataInterface|null $extension |
| 842 | - * @return RenditionDataInterface[] |
|
| 842 | + * @return \Dkd\PhpCmis\DataObjects\RenditionData[] |
|
| 843 | 843 | * @throws CmisInvalidArgumentException If object id is empty or skip count not of type integer |
| 844 | 844 | */ |
| 845 | 845 | public function getRenditions( |
@@ -883,7 +883,7 @@ discard block |
||
| 883 | 883 | * @param string $targetFolderId the identifier for the target folder |
| 884 | 884 | * @param string $sourceFolderId the identifier for the source folder |
| 885 | 885 | * @param ExtensionDataInterface|null $extension |
| 886 | - * @return ObjectDataInterface|null Returns object of type ObjectDataInterface or <code>null</code> |
|
| 886 | + * @return null|\Dkd\PhpCmis\DataObjects\ObjectData Returns object of type ObjectDataInterface or <code>null</code> |
|
| 887 | 887 | * if the repository response was empty |
| 888 | 888 | */ |
| 889 | 889 | public function moveObject( |
@@ -1029,7 +1029,7 @@ discard block |
||
| 1029 | 1029 | /** |
| 1030 | 1030 | * @param string $identifier |
| 1031 | 1031 | * @param mixed $additionalHashValues |
| 1032 | - * @return array |
|
| 1032 | + * @return string[] |
|
| 1033 | 1033 | */ |
| 1034 | 1034 | protected function createCacheKey($identifier, $additionalHashValues) |
| 1035 | 1035 | { |
@@ -1053,7 +1053,7 @@ discard block |
||
| 1053 | 1053 | /** |
| 1054 | 1054 | * Gets the cached object with cache key $identifier. |
| 1055 | 1055 | * |
| 1056 | - * @param string $identifier |
|
| 1056 | + * @param string[] $identifier |
|
| 1057 | 1057 | * @return mixed |
| 1058 | 1058 | */ |
| 1059 | 1059 | protected function getCached(array $identifier) |
@@ -1067,7 +1067,7 @@ discard block |
||
| 1067 | 1067 | /** |
| 1068 | 1068 | * Gets the cached object with cache key $identifier. |
| 1069 | 1069 | * |
| 1070 | - * @param string $identifier |
|
| 1070 | + * @param string[] $identifier |
|
| 1071 | 1071 | * @param mixed $object |
| 1072 | 1072 | * @return mixed |
| 1073 | 1073 | */ |