Completed
Push — master ( ca2ce7...736bdc )
by Caio
02:57
created
src/Managers/AbstractFilePathManager.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     /**
38 38
      * @param AttacherImageContract $attacherImage
39 39
      * @param string                $style
40
-     * @return mixed|string
40
+     * @return string
41 41
      */
42 42
     public function parsePath(AttacherImageContract $attacherImage, $style)
43 43
     {
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * @param AttacherImageContract $attacherImage
53 53
      * @param string                $string
54
-     * @return mixed
54
+     * @return string
55 55
      */
56 56
     public function parseOwnerClass(AttacherImageContract $attacherImage, $string)
57 57
     {
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
     /**
78 78
      * @param AttacherImageContract $attacherImage
79 79
      * @param string                $string
80
-     * @return mixed
80
+     * @return string
81 81
      */
82 82
     public function parseAttributes(AttacherImageContract $attacherImage, $string)
83 83
     {
@@ -176,7 +176,7 @@  discard block
 block discarded – undo
176 176
         return $this->base_url;
177 177
     }
178 178
 
179
-    /** @return array */
179
+    /** @return string */
180 180
     public function getProcessingStylesRoutines()
181 181
     {
182 182
         return $this->processing_styles_routines;
Please login to merge, or discard this patch.
resources/config/img-attacher.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -20,19 +20,19 @@
 block discarded – undo
20 20
     'processing_styles_routines' => [
21 21
         'default_routine' =>
22 22
         [
23
-            'original_style' => function ($image) {
23
+            'original_style' => function($image) {
24 24
                 return $image;
25 25
             },
26
-            'original_style2' => function ($image) {
26
+            'original_style2' => function($image) {
27 27
                 return $image;
28 28
             },
29 29
         ],
30 30
         'default_routine2' =>
31 31
         [
32
-            'original_style3' => function ($image) {
32
+            'original_style3' => function($image) {
33 33
                 return $image;
34 34
             },
35
-            'original_style4' => function ($image) {
35
+            'original_style4' => function($image) {
36 36
                 return $image;
37 37
             },
38 38
         ],
Please login to merge, or discard this patch.