Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | public static function build(array $properties) |
||
|
|||
12 | { |
||
13 | return new Publisher($publishedArray['streamId'] ?? null, |
||
14 | $publishedArray['createdAt'] ?? null, |
||
15 | $publishedArray['hasAudio'] ?? null, |
||
16 | $publishedArray['hasVideo'] ?? null, |
||
17 | $publishedArray['audioActive'] ?? null, |
||
18 | $publishedArray['videoActive'] ?? null, |
||
19 | $publishedArray['frameRate'] ?? null, |
||
20 | $publishedArray['typeOfVideo'] ?? null, |
||
21 | $publishedArray['videoDimensions'] ?? null |
||
22 | ); |
||
24 | } |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.