Passed
Push — master ( b9b823...902e2b )
by Kane
11:52
created
src/Embed.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 
104 104
     /**
105 105
      * Returns provider-specific data options.
106
-    */
106
+     */
107 107
     public function getProviderOptions(): array
108 108
     {
109 109
         if (isset($this->options['providers'])) {
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
     /**
117 117
      * Returns provider-specific HTML options.
118
-    */
118
+     */
119 119
     public function getProviderHtmlOptions(): array
120 120
     {
121 121
         if (isset($this->options['providers'])) {
Please login to merge, or discard this 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.