| @@ -28,17 +28,13 @@ | ||
| 28 | 28 | public const A_FACTOR = 100; |
| 29 | 29 | public const B_FACTOR = 10; |
| 30 | 30 | public const C_FACTOR = 1; |
| 31 | 31 | |
| 32 | - private int $a; | |
| 33 | - private int $b; | |
| 34 | - private int $c; | |
| 35 | - | |
| 36 | - public function __construct(int $a, int $b, int $c) | |
| 37 | - { | |
| 38 | - $this->a = $a; | |
| 39 | - $this->b = $b; | |
| 40 | - $this->c = $c; | |
| 32 | + public function __construct( | |
| 33 | + private int $a, | |
| 34 | + private int $b, | |
| 35 | + private int $c, | |
| 36 | + ) { | |
| 41 | 37 | } |
| 42 | 38 | |
| 43 | 39 | public function plus(self $specificity): self |
| 44 | 40 | { |