Skip to content

Commit

Permalink
Remove optional argument on Sync before required argument. Fixes #45
Browse files Browse the repository at this point in the history
…and #46
  • Loading branch information
mbonneau committed Oct 28, 2021
1 parent 2ec06d9 commit 17accd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PgAsync/Command/Sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Sync implements CommandInterface

private $description;

public function __construct(string $description = "", ObserverInterface $observer)
public function __construct(string $description, ObserverInterface $observer)
{
$this->description = $description;
$this->observer = $observer;
Expand Down

0 comments on commit 17accd9

Please sign in to comment.