KaneCohen /
oembed
| 1 | <?php |
||
| 2 | namespace Cohensive\OEmbed; |
||
| 3 | |||
| 4 | abstract class Extractor |
||
| 5 | { |
||
| 6 | public function __construct( |
||
| 7 | protected string|array $provider, |
||
| 8 | protected string $url, |
||
| 9 | protected array $parameters = [] |
||
| 10 | ) { |
||
| 11 | } |
||
| 12 | |||
| 13 | public function fetch(array $parameters = []): ?Embed |
||
|
0 ignored issues
–
show
|
|||
| 14 | { |
||
| 15 | return null; |
||
| 16 | } |
||
| 17 | } |
||
| 18 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.