Completed
Push — master ( 5b40be...b33466 )
by Chauncey
21:11
created
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/Object/Join.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -471,7 +471,7 @@
 block discarded – undo
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
     {
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/Admin/Widget/AttachmentWidget.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
     /**
225 225
      * Determine the number of attachments.
226 226
      *
227
-     * @return boolean
227
+     * @return integer
228 228
      */
229 229
     public function hasAttachments()
230 230
     {
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
      *
377 377
      * @param  string $lang The language code.
378 378
      * @throws InvalidArgumentException If the argument is not a string.
379
-     * @return UserDataInterface Chainable
379
+     * @return AttachmentWidget Chainable
380 380
      */
381 381
     public function setLang($lang)
382 382
     {
Please login to merge, or discard this patch.
src/Charcoal/Attachment/Object/Attachment.php 1 patch
Doc Comments   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
      *
319 319
      * @param  string $type The attachment type.
320 320
      * @throws InvalidArgumentException If provided argument is not of type 'string'.
321
-     * @return string
321
+     * @return Attachment
322 322
      */
323 323
     public function setType($type)
324 324
     {
@@ -759,7 +759,7 @@  discard block
 block discarded – undo
759 759
     /**
760 760
      * Retrieve the attachment's sub-title.
761 761
      *
762
-     * @return Translation|string|null
762
+     * @return null|Translation
763 763
      */
764 764
     public function subtitle()
765 765
     {
@@ -769,7 +769,7 @@  discard block
 block discarded – undo
769 769
     /**
770 770
      * Retrieve attachment's description.
771 771
      *
772
-     * @return Translation|string|null
772
+     * @return null|Translation
773 773
      */
774 774
     public function description()
775 775
     {
@@ -789,7 +789,7 @@  discard block
 block discarded – undo
789 789
     /**
790 790
      * Retrieve the path to the thumbnail associated with the object.
791 791
      *
792
-     * @return string|null
792
+     * @return string
793 793
      */
794 794
     public function thumbnail()
795 795
     {
@@ -832,7 +832,7 @@  discard block
 block discarded – undo
832 832
     /**
833 833
      * Retrieve the file label.
834 834
      *
835
-     * @return string|null
835
+     * @return null|Translation
836 836
      */
837 837
     public function fileLabel()
838 838
     {
@@ -842,7 +842,7 @@  discard block
 block discarded – undo
842 842
     /**
843 843
      * Retrieve the link label.
844 844
      *
845
-     * @return string|null
845
+     * @return null|Translation
846 846
      */
847 847
     public function linkLabel()
848 848
     {
@@ -976,7 +976,7 @@  discard block
 block discarded – undo
976 976
      * Prepend the base URI to the given path.
977 977
      *
978 978
      * @param  string $text A string to parse relative URIs.
979
-     * @return UriInterface|null
979
+     * @return string
980 980
      */
981 981
     protected function resolveUrls($text)
982 982
     {
Please login to merge, or discard this patch.