Passed
Push — master ( b9b823...902e2b )
by Kane
11:52
created
src/Embed.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -173,7 +173,7 @@
 block discarded – undo
173 173
     /**
174 174
      * Returns URL of a resulting embed object.
175 175
      */
176
-    public function src(array $options = null): string | array | null
176
+    public function src(array $options = null): string|array|null
177 177
     {
178 178
         $options = array_merge($this->options, $options ?? []);
179 179
 
Please login to merge, or discard this patch.
src/HtmlBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      * video - string[]
59 59
      * raw - null
60 60
      */
61
-    public function src(array $options = []): string | array | null
61
+    public function src(array $options = []): string|array|null
62 62
     {
63 63
         if (is_array($this->html)) {
64 64
             $attrs = $this->applyOptions($this->html, $options);
@@ -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
             }
Please login to merge, or discard this patch.