Skip to content

Commit

Permalink
clean: remove unused
Browse files Browse the repository at this point in the history
  • Loading branch information
jinpresta committed Aug 30, 2024
1 parent 74b55d4 commit 38e6d1b
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/Module/ActionsManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,9 @@ class ActionsManager
*/
private $filesManager;

/**
* @var Repository
* @TODO : Not needed anymore
*/
private $moduleRepository;

public function __construct(
FilesManager $filesManager,
Repository $moduleRepository
) {
public function __construct(FilesManager $filesManager) {
$this->filesManager = $filesManager;
$this->moduleRepository = $moduleRepository;
}

/**
Expand All @@ -57,7 +48,7 @@ public function __construct(
*/
public function install(int $moduleId): void
{
$moduleZip = $this->filesManager->downloadModule($moduleId);
$moduleZip = $this->downloadModule($moduleId);

$this->filesManager->installFromSource($moduleZip);
}
Expand Down

0 comments on commit 38e6d1b

Please sign in to comment.