Skip to content

Commit

Permalink
#47: Don't duplicate properties being passed to the parent class.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamfranco committed Nov 25, 2024
1 parent 3fdd493 commit f4a4f51
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Service/CatalogSync/Syncer/OciSyncer.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class OciSyncer extends AbstractSyncer implements Syncer
{
public function __construct(
protected OciSourceDatabase $source_db,
protected PdoDestinationDatabase $destination_db,
protected array $allowedBlckCodes = [],
PdoDestinationDatabase $destination_db,
array $allowedBlckCodes = [],
) {
parent::__construct($destination_db, $allowedBlckCodes);

Expand Down
6 changes: 3 additions & 3 deletions src/Service/CatalogSync/Syncer/OciWithCacheSyncer.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@
class OciWithCacheSyncer extends OciSyncer implements Syncer
{
public function __construct(
protected OciSourceDatabase $source_db,
protected PdoDestinationDatabase $destination_db,
OciSourceDatabase $source_db,
PdoDestinationDatabase $destination_db,
protected PdoDestinationDatabase $temp_db,
protected array $allowedBlckCodes = [],
array $allowedBlckCodes = [],
private string $mysqlCommand = 'mysql',
private string $mysqldumpCommand = 'mysqldump',
) {
Expand Down
4 changes: 2 additions & 2 deletions src/Service/CatalogSync/Syncer/PdoMysqlSyncer.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ class PdoMysqlSyncer extends AbstractSyncer implements Syncer
{
public function __construct(
protected PdoMysqlSourceDatabase $source_db,
protected PdoDestinationDatabase $destination_db,
protected array $allowedBlckCodes = [],
PdoDestinationDatabase $destination_db,
array $allowedBlckCodes = [],
) {
parent::__construct($destination_db, $allowedBlckCodes);
}
Expand Down

0 comments on commit f4a4f51

Please sign in to comment.