Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
112 | 45 | public static function loadGroupRef(Group $referenced, DOMElement $node) |
|
113 | { |
||
114 | 45 | $ref = new GroupRef($referenced); |
|
115 | 45 | $ref->setDoc(SchemaReader::getDocumentation($node)); |
|
116 | |||
117 | 45 | SchemaReader::maybeSetMax($ref, $node); |
|
118 | 45 | SchemaReader::maybeSetMin($ref, $node); |
|
119 | |||
120 | 45 | return $ref; |
|
121 | } |
||
123 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.