@@ -173,7 +173,7 @@ |
||
| 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 | |
@@ -58,7 +58,7 @@ discard block |
||
| 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 |
||
| 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 | } |