Skip to content

Commit a60f4e5

Browse files
committed
Cleanup
1 parent f50fe41 commit a60f4e5

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/Exercise/UniteTheTypes.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
<?php
22

3-
43
namespace PhpSchool\PHP8Appreciate\Exercise;
54

65
use PhpParser\Node\Identifier;
@@ -29,9 +28,6 @@ class UniteTheTypes extends AbstractExercise implements
2928
SelfCheck,
3029
SubmissionPatchable
3130
{
32-
33-
private float $total;
34-
3531
public function __construct(private Parser $parser, private FakerGenerator $faker)
3632
{
3733
}
@@ -62,9 +58,7 @@ function (): string {
6258
},
6359
range(0, random_int(5, 15))
6460
);
65-
66-
$this->total = array_sum($numbers);
67-
61+
6862
return [$numbers];
6963
}
7064

0 commit comments

Comments
 (0)