| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 25 | 15 | public function setData(string $file, string $name, string $title, int $count): self |
|
| 26 | { |
||
| 27 | 15 | $this->name = strval($name); |
|
| 28 | 15 | $this->title = strval($title); |
|
| 29 | 15 | $this->file = strval($file); |
|
| 30 | 15 | $this->displayCount = intval($count); |
|
| 31 | 15 | $this->entries = []; |
|
| 32 | 15 | return $this; |
|
| 33 | } |
||
| 69 |