1 | <?php |
||
10 | class ComparatorFactory { |
||
11 | |||
12 | /** |
||
13 | * Creates a comparator for use statements |
||
14 | * |
||
15 | * @param string $type |
||
16 | * @return Comparator |
||
17 | */ |
||
18 | 14 | public static function createUseStatementComparator($type) { |
|
26 | |||
27 | /** |
||
28 | * Creates a comparator for constants |
||
29 | * |
||
30 | * @param string $type |
||
31 | * @return Comparator |
||
32 | */ |
||
33 | 13 | public static function createConstantComparator($type) { |
|
41 | |||
42 | /** |
||
43 | * Creates a comparator for properties |
||
44 | * |
||
45 | * @param string $type |
||
46 | * @return Comparator |
||
47 | */ |
||
48 | 12 | public static function createPropertyComparator($type) { |
|
56 | |||
57 | /** |
||
58 | * Creates a comparator for methods |
||
59 | * |
||
60 | * @param string $type |
||
61 | * @return Comparator |
||
62 | */ |
||
63 | 14 | public static function createMethodComparator($type) { |
|
71 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.