File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 */
1919final class Session
2020{
21- private Id $ id ;
22- private Name $ name ;
23- /** @var Map<string, mixed> */
24- private Map $ values ;
25-
2621 /**
2722 * @param Map<string, mixed> $values
2823 */
29- private function __construct (Id $ id , Name $ name , Map $ values )
30- {
31- $ this -> id = $ id ;
32- $ this -> name = $ name ;
33- $ this -> values = $ values ;
24+ private function __construct (
25+ private Id $ id ,
26+ private Name $ name ,
27+ private Map $ values ,
28+ ) {
3429 }
3530
3631 /**
Original file line number Diff line number Diff line change 1313 */
1414final class Id
1515{
16- private string $ value ;
17-
18- private function __construct (string $ value )
16+ private function __construct (private string $ value )
1917 {
20- $ this ->value = $ value ;
2118 }
2219
2320 /**
Original file line number Diff line number Diff line change 1414 */
1515final class Name
1616{
17- private string $ value ;
18-
19- private function __construct (string $ value )
17+ private function __construct (private string $ value )
2018 {
21- $ this ->value = $ value ;
2219 }
2320
2421 /**
You can’t perform that action at this time.
0 commit comments