Total Complexity | 6 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class StoryblokSvg extends BaseTransformer |
||
8 | { |
||
9 | public function buildUrl(): string { |
||
10 | return $this->assetDomain(); |
||
11 | } |
||
12 | |||
13 | protected function extractMetaDetails(): void |
||
24 | ]; |
||
25 | } |
||
26 | |||
27 | public function resize(int $width, int $height = null): static |
||
28 | { |
||
29 | return $this; |
||
30 | } |
||
31 | |||
32 | public function fitIn(int $width = 0, int $height = 0, string $fill = 'transparent'): static |
||
33 | { |
||
34 | return $this; |
||
35 | } |
||
36 | |||
37 | public function format(string $format, int $quality = null): static |
||
38 | { |
||
39 | return $this; |
||
40 | } |
||
41 | |||
42 | /** |
||
43 | * Sets the asset domain |
||
44 | * |
||
45 | * @param $options |
||
46 | * @return string |
||
47 | */ |
||
48 | protected function assetDomain($options = null): string |
||
53 | } |
||
54 | } |
||
55 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.