Passed
Push — master ( be59cf...adf0d1 )
by Arnaud
06:44
created
src/Assets/Asset.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
      *
61 61
      * @throws RuntimeException
62 62
      */
63
-    public function __construct(Builder $builder, string|array $paths, array|null $options = null)
63
+    public function __construct(Builder $builder, string | array $paths, array | null $options = null)
64 64
     {
65 65
         $this->builder = $builder;
66 66
         $this->config = $builder->getConfig();
@@ -81,20 +81,20 @@  discard block
 block discarded – undo
81 81
             }
82 82
         });
83 83
         $this->data = [
84
-            'file'     => '',    // absolute file path
85
-            'files'    => [],    // array of absolute files path
84
+            'file'     => '', // absolute file path
85
+            'files'    => [], // array of absolute files path
86 86
             'missing'  => false, // if file not found but missing allowed: 'missing' is true
87
-            '_path'    => '',    // original path
88
-            'path'     => '',    // public path
89
-            'url'      => null,  // URL if it's a remote file
90
-            'ext'      => '',    // file extension
91
-            'type'     => '',    // file type (e.g.: image, audio, video, etc.)
92
-            'subtype'  => '',    // file media type (e.g.: image/png, audio/mp3, etc.)
93
-            'size'     => 0,     // file size (in bytes)
94
-            'width'    => 0,     // image width (in pixels)
95
-            'height'   => 0,     // image height (in pixels)
96
-            'exif'     => [],    // image exif data
97
-            'content'  => '',    // file content
87
+            '_path'    => '', // original path
88
+            'path'     => '', // public path
89
+            'url'      => null, // URL if it's a remote file
90
+            'ext'      => '', // file extension
91
+            'type'     => '', // file type (e.g.: image, audio, video, etc.)
92
+            'subtype'  => '', // file media type (e.g.: image/png, audio/mp3, etc.)
93
+            'size'     => 0, // file size (in bytes)
94
+            'width'    => 0, // image width (in pixels)
95
+            'height'   => 0, // image height (in pixels)
96
+            'exif'     => [], // image exif data
97
+            'content'  => '', // file content
98 98
         ];
99 99
 
100 100
         // handles options
Please login to merge, or discard this patch.