Total Complexity | 3 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
11 | trait HasEntriesTrait |
||
12 | { |
||
13 | /** |
||
14 | * All of the instantiated asset containers. |
||
15 | * |
||
16 | * @var array |
||
17 | */ |
||
18 | protected $entries = []; |
||
19 | |||
20 | /** |
||
21 | * @param string $entry |
||
22 | * @return EntryPoint |
||
23 | */ |
||
24 | 1 | public static function entry(string $entry = '_default') |
|
27 | } |
||
28 | |||
29 | /** |
||
30 | * @param string $entry |
||
31 | * @return EntryPoint |
||
32 | */ |
||
33 | 1 | public function getEntry(string $entry = '_default') |
|
42 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.