Completed
Push — master ( 21ff8e...a4d357 )
by Chauncey
16:06
created
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.
src/Charcoal/Attachment/Traits/AttachmentContainerTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
                     $attMeta['faIcon'] = $faIcon;
184 184
 
185 185
                     // Custom forms
186
-                    $attMeta['formIdent']      = isset($attMeta['form_ident'])       ? $attMeta['form_ident']       : null;
186
+                    $attMeta['formIdent']      = isset($attMeta['form_ident']) ? $attMeta['form_ident'] : null;
187 187
                     $attMeta['quickFormIdent'] = isset($attMeta['quick_form_ident']) ? $attMeta['quick_form_ident'] : null;
188 188
 
189 189
                     $this->attachableObjects[$attType] = $attMeta;
Please login to merge, or discard this patch.