Skip to content

Commit e6270be

Browse files
committed
Review fixes
1 parent 7d30d3a commit e6270be

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

exercises/a-match-made-in-heaven/problem/problem.md

-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ You should return 0 for any unsupported key presses.
3333

3434
The core logic of the program should not change. eg the key presses and decimal codes.
3535

36-
----------------------------------------------------------------------
3736

3837
----------------------------------------------------------------------
3938
## EXTRA

src/Exercise/AMatchMadeInHeaven.php

+1-7
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,8 @@ class AMatchMadeInHeaven extends AbstractExercise implements
3030
ProvidesInitialCode,
3131
SelfCheck
3232
{
33-
/**
34-
* @var Parser
35-
*/
36-
private $parser;
37-
38-
public function __construct(Parser $parser)
33+
public function __construct(private Parser $parser)
3934
{
40-
$this->parser = $parser;
4135
}
4236

4337
public function getName(): string

0 commit comments

Comments
 (0)