Completed
Branch master (5a0d9f)
by Caio
02:31
created
src/Models/AbstractAttacherImage.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     }
42 42
 
43 43
     /**
44
-     * @return mixed owner model
44
+     * @return \Illuminate\Database\Eloquent\Relations\MorphTo owner model
45 45
      */
46 46
     public function owner()
47 47
     {
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
     }
104 104
 
105 105
     /**
106
-     * @return bool | null
106
+     * @return null|boolean | null
107 107
      */
108 108
     public function filenameIsDifferentFromOriginal()
109 109
     {
@@ -143,7 +143,7 @@  discard block
 block discarded – undo
143 143
     }
144 144
 
145 145
     /**
146
-     * @return UploadedFile
146
+     * @return AbstractAttacherImage
147 147
      */
148 148
     public function setUploadedFile(UploadedFile $file)
149 149
     {
Please login to merge, or discard this patch.
src/AttacherManager.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -51,8 +51,9 @@
 block discarded – undo
51 51
         $imageProcessor           = $this->getImageProcessor();
52 52
         $processing_style_routine = $this->extractStyleRoutineMethods($attacherImage);
53 53
 
54
-        if ( empty($processing_style_routine) )
55
-            return false;
54
+        if ( empty($processing_style_routine) ) {
55
+                    return false;
56
+        }
56 57
 
57 58
         foreach ($processing_style_routine as $style_name => $method)
58 59
         {
Please login to merge, or discard this patch.