Passed
Push — master ( 9f6d99...170861 )
by Chauncey
02:15
created
src/Charcoal/Admin/Widget/AttachmentWidget.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -215,7 +215,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Charcoal/Attachment/Object/File.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Charcoal/Attachment/Object/Image.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Charcoal/Attachment/Traits/AttachmentAwareTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -293,7 +293,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Charcoal/Attachment/Traits/ConfigurableAttachmentsTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
      *
36 36
      * @param  ConfigInterface|array $config The datas to set.
37 37
      * @throws InvalidArgumentException If the parameter is invalid.
38
-     * @return ConfigurableInterface Chainable
38
+     * @return ConfigurableAttachmentsTrait Chainable
39 39
      */
40 40
     public function setConfig($config)
41 41
     {
Please login to merge, or discard this patch.
src/Charcoal/Attachment/Object/Attachment.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -308,7 +308,7 @@  discard block
 block discarded – undo
308 308
      *
309 309
      * @param  string $type The attachment type.
310 310
      * @throws InvalidArgumentException If provided argument is not of type 'string'.
311
-     * @return string
311
+     * @return Attachment
312 312
      */
313 313
     public function setType($type)
314 314
     {
@@ -525,7 +525,7 @@  discard block
 block discarded – undo
525 525
      * Show/hide the attachment's title on the front-end.
526 526
      *
527 527
      * @param  boolean $show Show (TRUE) or hide (FALSE) the title.
528
-     * @return UiItemInterface Chainable
528
+     * @return Attachment Chainable
529 529
      */
530 530
     public function setShowTitle($show)
531 531
     {
@@ -723,7 +723,7 @@  discard block
 block discarded – undo
723 723
     /**
724 724
      * Retrieve the attachment's sub-title.
725 725
      *
726
-     * @return Translation|string|null
726
+     * @return null|Translation
727 727
      */
728 728
     public function subtitle()
729 729
     {
@@ -733,7 +733,7 @@  discard block
 block discarded – undo
733 733
     /**
734 734
      * Retrieve attachment's description.
735 735
      *
736
-     * @return Translation|string|null
736
+     * @return null|Translation
737 737
      */
738 738
     public function description()
739 739
     {
@@ -753,7 +753,7 @@  discard block
 block discarded – undo
753 753
     /**
754 754
      * Retrieve the path to the thumbnail associated with the object.
755 755
      *
756
-     * @return string|null
756
+     * @return string
757 757
      */
758 758
     public function thumbnail()
759 759
     {
@@ -763,7 +763,7 @@  discard block
 block discarded – undo
763 763
     /**
764 764
      * Retrieve the path to the attached file.
765 765
      *
766
-     * @return Translation|string|null
766
+     * @return File
767 767
      */
768 768
     public function file()
769 769
     {
@@ -773,7 +773,7 @@  discard block
 block discarded – undo
773 773
     /**
774 774
      * Retrieve the attached link.
775 775
      *
776
-     * @return Translation|string|null
776
+     * @return null|Translation
777 777
      */
778 778
     public function link()
779 779
     {
@@ -920,7 +920,7 @@  discard block
 block discarded – undo
920 920
      * Prepend the base URI to the given path.
921 921
      *
922 922
      * @param  string $text A string to parse relative URIs.
923
-     * @return UriInterface|null
923
+     * @return string
924 924
      */
925 925
     protected function resolveUrls($text)
926 926
     {
Please login to merge, or discard this patch.