| Total Complexity | 6 |
| Total Lines | 37 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class OptiStatus |
||
| 15 | { |
||
| 16 | protected $summary = []; |
||
| 17 | protected $major = false; |
||
| 18 | protected $notCosmetic = false; |
||
| 19 | |||
| 20 | public function getSummary(): array |
||
| 23 | } |
||
| 24 | |||
| 25 | public function addSummaryLog(string $str): OptiStatus |
||
| 26 | { |
||
| 27 | $this->summary[] = $str; |
||
| 28 | return $this; |
||
| 29 | } |
||
| 30 | |||
| 31 | public function isMajor(): bool |
||
| 32 | { |
||
| 33 | return $this->major; |
||
| 34 | } |
||
| 35 | |||
| 36 | public function setMajor(bool $major): OptiStatus |
||
| 37 | { |
||
| 38 | $this->major = $major; |
||
| 39 | return $this; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function isNotCosmetic(): bool |
||
| 45 | } |
||
| 46 | |||
| 47 | public function setNotCosmetic(bool $notCosmetic): OptiStatus |
||
| 48 | { |
||
| 51 | } |
||
| 52 | } |