| Conditions | 2 |
| Paths | 2 |
| Total Lines | 5 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| 1 | <?php |
||
| 28 | public function __construct(RecordReader\RecordReader $openingRecordReader = null) |
||
| 29 | { |
||
| 30 | // TODO When we have a factory pattern for creating strategies there should be no default reader here... |
||
| 31 | $this->openingRecordReader = $openingRecordReader ?: new RecordReader\DefaultNewOpeningRecordReader; |
||
| 32 | } |
||
| 33 | |||
| 69 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.