Code Coverage
 
Lines
Functions and Methods
Classes and Traits
Total
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 2
CRAP
0.00% covered (danger)
0.00%
0 / 1
HTMLSlotElement
0.00% covered (danger)
0.00%
0 / 2
0.00% covered (danger)
0.00%
0 / 2
6
0.00% covered (danger)
0.00%
0 / 1
 _unimplemented
n/a
0 / 0
n/a
0 / 0
0
 assignedNodes
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
 assignedElements
0.00% covered (danger)
0.00%
0 / 1
0.00% covered (danger)
0.00%
0 / 1
2
1<?php
2
3// AUTOMATICALLY GENERATED.  DO NOT EDIT.
4// Use `composer build` to regenerate.
5
6namespace Wikimedia\IDLeDOM\Stub;
7
8use Exception;
9use Wikimedia\IDLeDOM\AssignedNodesOptions;
10use Wikimedia\IDLeDOM\Element;
11use Wikimedia\IDLeDOM\Node;
12
13trait HTMLSlotElement {
14
15    // Underscore is used to avoid conflicts with DOM-reserved names
16    // phpcs:disable PSR2.Methods.MethodDeclaration.Underscore
17    // phpcs:disable MediaWiki.NamingConventions.LowerCamelFunctionsName.FunctionName
18
19    /**
20     * @return Exception
21     */
22    abstract protected function _unimplemented(): Exception;
23
24    // phpcs:enable
25
26    /**
27     * @param AssignedNodesOptions|associative-array|null $options
28     * @return list<Node>
29     */
30    public function assignedNodes( /* ?mixed */ $options = null ): array {
31        throw self::_unimplemented();
32    }
33
34    /**
35     * @param AssignedNodesOptions|associative-array|null $options
36     * @return list<Element>
37     */
38    public function assignedElements( /* ?mixed */ $options = null ): array {
39        throw self::_unimplemented();
40    }
41
42}