Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
28 | 31 | public function setGroupData(?string $id, ?string $name, ?string $desc, ?string $authorId, ?int $status, ?array $parents = []): void |
|
29 | { |
||
30 | 31 | $this->id = $id ?? $this->id; |
|
31 | 31 | $this->name = $name ?? $this->name; |
|
32 | 31 | $this->displayName = $desc ?? $this->displayName; |
|
33 | 31 | $this->author = $authorId ?? $this->author; |
|
34 | 31 | $this->status = $status ?? $this->status; |
|
35 | 31 | $this->parents = $parents ?? $this->parents; |
|
36 | 31 | } |
|
71 |