Passed
Push — master ( 8a3439...c62c23 )
by Kane
04:52
created
src/HtmlBuilder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
 
10 10
     public function __construct(
11 11
         protected string $type,
12
-        protected string | array $html,
12
+        protected string|array $html,
13 13
         protected ?string $script = null
14 14
     ) {
15 15
     }
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
             }
69 69
 
70 70
             if ($this->type === self::TYPE_VIDEO) {
71
-                return array_map(function ($source) {
71
+                return array_map(function($source) {
72 72
                     return $source['src'];
73 73
                 }, $attrs['source']);
74 74
             }
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
      */
235 235
     protected function applyAutoplay(array $attrs, array &$options): array
236 236
     {
237
-        if (! ($options['autoplay'] ?? false)) {
237
+        if (!($options['autoplay'] ?? false)) {
238 238
             return $attrs;
239 239
         }
240 240
 
Please login to merge, or discard this patch.