1class Point {
2 public function __construct(
3 public float $x = 0.0,
4 public float $y = 0.0,
5 public float $z = 0.0,
6 ) {}
7}
1 public function __construct(
2 public string $myProperty,
3 public string $myOtherProperty,
4 ) {}