Skip to content

Commit 4362895

Browse files
committed
added type specifier to command factory
1 parent bee91ac commit 4362895

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/CommandFactory.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
class CommandFactory implements CommandFactoryInterface
1010
{
1111
private mixed $parser;
12-
private CommandInterface $fileReader;
12+
private FileReaderInterface $fileReader;
1313
private const array FORMAT_KEYS = [
1414
"stylish", "plain", "json"
1515
];
1616

1717
public function __construct(
1818
mixed $parser,
19-
CommandInterface $fileReader
19+
FileReaderInterface $fileReader
2020
) {
2121
$this->parser = $parser;
2222
$this->fileReader = $fileReader;

0 commit comments

Comments
 (0)