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