@@ -215,7 +215,7 @@ |
||
| 215 | 215 | /** |
| 216 | 216 | * Determine the number of attachments. |
| 217 | 217 | * |
| 218 | - * @return boolean |
|
| 218 | + * @return integer |
|
| 219 | 219 | */ |
| 220 | 220 | public function hasAttachments() |
| 221 | 221 | { |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | /** |
| 14 | 14 | * Alias of {@see Attachment::file()}. |
| 15 | 15 | * |
| 16 | - * @return string|null |
|
| 16 | + * @return \Psr\Http\Message\UriInterface|null |
|
| 17 | 17 | */ |
| 18 | 18 | public function src() |
| 19 | 19 | { |
@@ -12,7 +12,7 @@ |
||
| 12 | 12 | /** |
| 13 | 13 | * Alias of {@see Attachment::thumbnail()} and {@see Attachment::file()}. |
| 14 | 14 | * |
| 15 | - * @return string|null |
|
| 15 | + * @return \Psr\Http\Message\UriInterface|null |
|
| 16 | 16 | */ |
| 17 | 17 | public function src() |
| 18 | 18 | { |
@@ -471,7 +471,7 @@ |
||
| 471 | 471 | /** |
| 472 | 472 | * Retrieve the relationship's group ID. |
| 473 | 473 | * |
| 474 | - * @return mixed |
|
| 474 | + * @return string |
|
| 475 | 475 | */ |
| 476 | 476 | public function group() |
| 477 | 477 | { |
@@ -293,7 +293,7 @@ |
||
| 293 | 293 | * Set the attachment widget. |
| 294 | 294 | * |
| 295 | 295 | * @param AttachmentWidget $widget The widget displaying attachments. |
| 296 | - * @return string |
|
| 296 | + * @return AttachmentAwareTrait |
|
| 297 | 297 | */ |
| 298 | 298 | protected function setAttachmentWidget(AttachmentWidget $widget) |
| 299 | 299 | { |
@@ -324,7 +324,7 @@ discard block |
||
| 324 | 324 | * |
| 325 | 325 | * @param string $type The attachment type. |
| 326 | 326 | * @throws InvalidArgumentException If provided argument is not of type 'string'. |
| 327 | - * @return string |
|
| 327 | + * @return Attachment |
|
| 328 | 328 | */ |
| 329 | 329 | public function setType($type) |
| 330 | 330 | { |
@@ -765,7 +765,7 @@ discard block |
||
| 765 | 765 | /** |
| 766 | 766 | * Retrieve the attachment's sub-title. |
| 767 | 767 | * |
| 768 | - * @return Translation|string|null |
|
| 768 | + * @return null|Translation |
|
| 769 | 769 | */ |
| 770 | 770 | public function subtitle() |
| 771 | 771 | { |
@@ -775,7 +775,7 @@ discard block |
||
| 775 | 775 | /** |
| 776 | 776 | * Retrieve attachment's description. |
| 777 | 777 | * |
| 778 | - * @return Translation|string|null |
|
| 778 | + * @return null|Translation |
|
| 779 | 779 | */ |
| 780 | 780 | public function description() |
| 781 | 781 | { |
@@ -795,7 +795,7 @@ discard block |
||
| 795 | 795 | /** |
| 796 | 796 | * Retrieve the path to the thumbnail associated with the object. |
| 797 | 797 | * |
| 798 | - * @return string|null |
|
| 798 | + * @return string |
|
| 799 | 799 | */ |
| 800 | 800 | public function thumbnail() |
| 801 | 801 | { |
@@ -838,7 +838,7 @@ discard block |
||
| 838 | 838 | /** |
| 839 | 839 | * Retrieve the file label. |
| 840 | 840 | * |
| 841 | - * @return string|null |
|
| 841 | + * @return null|Translation |
|
| 842 | 842 | */ |
| 843 | 843 | public function fileLabel() |
| 844 | 844 | { |
@@ -848,7 +848,7 @@ discard block |
||
| 848 | 848 | /** |
| 849 | 849 | * Retrieve the link label. |
| 850 | 850 | * |
| 851 | - * @return string|null |
|
| 851 | + * @return null|Translation |
|
| 852 | 852 | */ |
| 853 | 853 | public function linkLabel() |
| 854 | 854 | { |
@@ -893,7 +893,7 @@ discard block |
||
| 893 | 893 | } |
| 894 | 894 | |
| 895 | 895 | /** |
| 896 | - * @return ModelInterface|mixed |
|
| 896 | + * @return ModelInterface |
|
| 897 | 897 | */ |
| 898 | 898 | public function presenter() |
| 899 | 899 | { |
@@ -1001,7 +1001,7 @@ discard block |
||
| 1001 | 1001 | * Prepend the base URI to the given path. |
| 1002 | 1002 | * |
| 1003 | 1003 | * @param string $text A string to parse relative URIs. |
| 1004 | - * @return UriInterface|null |
|
| 1004 | + * @return string |
|
| 1005 | 1005 | */ |
| 1006 | 1006 | protected function resolveUrls($text) |
| 1007 | 1007 | { |