| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | 1 | public function createConfiguration($typeName, $week, $seance) |
|
| 36 | { |
||
| 37 | 1 | $type = $this->typeProvider->getType($typeName); |
|
| 38 | |||
| 39 | 1 | $configuration = new Configuration(); |
|
| 40 | 1 | $configuration->setType($type); |
|
| 41 | 1 | $configuration->setNumberOfWeek($week); |
|
| 42 | 1 | $configuration->setNumberOfSeance($seance); |
|
| 43 | |||
| 44 | 1 | return $configuration; |
|
| 45 | } |
||
| 46 | } |
||
|
|
|||
| 47 |
This check marks files that end in a newline character, i.e. an empy line.