Passed
Push — cache ( 90404a...dd49de )
by Arnaud
03:49
created
src/Assets/Asset.php 1 patch
Spacing   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      *
58 58
      * @throws RuntimeException
59 59
      */
60
-    public function __construct(Builder $builder, string|array $paths, array|null $options = null)
60
+    public function __construct(Builder $builder, string | array $paths, array | null $options = null)
61 61
     {
62 62
         $this->builder = $builder;
63 63
         $this->config = $builder->getConfig();
@@ -74,20 +74,20 @@  discard block
 block discarded – undo
74 74
             }
75 75
         });
76 76
         $this->data = [
77
-            'file'           => '',    // absolute file path
78
-            'files'          => [],    // bundle: array of files path
79
-            'filename'       => '',    // bundle: filename
80
-            'path'           => '',    // public path to the file
81
-            'url'            => null,  // URL if it's a remote file
77
+            'file'           => '', // absolute file path
78
+            'files'          => [], // bundle: array of files path
79
+            'filename'       => '', // bundle: filename
80
+            'path'           => '', // public path to the file
81
+            'url'            => null, // URL if it's a remote file
82 82
             'missing'        => false, // if file not found but missing allowed: 'missing' is true
83
-            'ext'            => '',    // file extension
84
-            'type'           => '',    // file type (e.g.: image, audio, video, etc.)
85
-            'subtype'        => '',    // file media type (e.g.: image/png, audio/mp3, etc.)
86
-            'size'           => 0,     // file size (in bytes)
87
-            'width'          => 0,     // image width (in pixels)
88
-            'height'         => 0,     // image height (in pixels)
89
-            'exif'           => [],    // exif data
90
-            'content'        => '',    // file content
83
+            'ext'            => '', // file extension
84
+            'type'           => '', // file type (e.g.: image, audio, video, etc.)
85
+            'subtype'        => '', // file media type (e.g.: image/png, audio/mp3, etc.)
86
+            'size'           => 0, // file size (in bytes)
87
+            'width'          => 0, // image width (in pixels)
88
+            'height'         => 0, // image height (in pixels)
89
+            'exif'           => [], // exif data
90
+            'content'        => '', // file content
91 91
         ];
92 92
 
93 93
         // handles options
Please login to merge, or discard this patch.