snebes /
html-sanitizer
| 1 | <?php |
||
| 2 | /** |
||
| 3 | * (c) Steve Nebes <[email protected]>. |
||
| 4 | * |
||
| 5 | * For the full copyright and license information, please view the LICENSE |
||
| 6 | * file that was distributed with this source code. |
||
| 7 | */ |
||
| 8 | |||
| 9 | namespace SN\HtmlSanitizer\Node; |
||
| 10 | |||
| 11 | /** |
||
| 12 | * Used by nodes which can't have children. |
||
| 13 | * |
||
| 14 | * @author Steve Nebes <[email protected]> |
||
| 15 | */ |
||
| 16 | trait IsChildlessTrait |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @param NodeInterface $child |
||
| 20 | */ |
||
| 21 | 1 | public function addChild(NodeInterface $child): void |
|
|
0 ignored issues
–
show
|
|||
| 22 | { |
||
| 23 | 1 | } |
|
| 24 | } |
||
| 25 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.