File tree 2 files changed +1
-8
lines changed
exercises/a-match-made-in-heaven/problem
2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ You should return 0 for any unsupported key presses.
33
33
34
34
The core logic of the program should not change. eg the key presses and decimal codes.
35
35
36
- ----------------------------------------------------------------------
37
36
38
37
----------------------------------------------------------------------
39
38
## EXTRA
Original file line number Diff line number Diff line change @@ -30,14 +30,8 @@ class AMatchMadeInHeaven extends AbstractExercise implements
30
30
ProvidesInitialCode,
31
31
SelfCheck
32
32
{
33
- /**
34
- * @var Parser
35
- */
36
- private $ parser ;
37
-
38
- public function __construct (Parser $ parser )
33
+ public function __construct (private Parser $ parser )
39
34
{
40
- $ this ->parser = $ parser ;
41
35
}
42
36
43
37
public function getName (): string
You can’t perform that action at this time.
0 commit comments