| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | private function pointToSubobject(): SubObject { |
||
| 25 | $subObject = new SubObject( 'MySubobjectName' ); |
||
| 26 | |||
| 27 | $subObject->addPropertyValuePair( |
||
| 28 | 'HasNumber', |
||
| 29 | new \SMWDINumber( 455 ) |
||
| 30 | ); |
||
| 31 | |||
| 32 | $subObject->addPropertyValuePair( |
||
| 33 | 'HasNumber', |
||
| 34 | new \SMWDINumber( 4555 ) |
||
| 35 | ); |
||
| 36 | |||
| 37 | return $subObject; |
||
| 38 | } |
||
| 39 | |||
| 42 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.