Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | public function getPinterestLink(?string $imageMethod = '', ?bool $useImageTitle = false): string |
||
18 | { |
||
19 | $owner = $this->getOwner(); |
||
20 | |||
21 | return 'https://pinterest.com/pin/create/button/?url=' . ($owner->AbsoluteLink()) . '&' |
||
22 | . 'description=' . rawurlencode($owner->Title) . '&' |
||
23 | . 'media=' . rawurlencode($owner->AbsoluteLink()); |
||
24 | } |
||
26 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.