Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
BUGFIX: use a specific inject method in Result/Result.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Keuerleber committed Feb 27, 2020
1 parent 075d687 commit 741f90b
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Classes/Utility/Git/Result/Result.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
***************************************************************/

use PunktDe\PtExtbase\Utility\GenericShellCommandWrapper\AbstractResult;
use PunktDe\PtExtbase\Utility\GenericShellCommandWrapper\ExecutionManager;
use PunktDe\PtExtbase\Utility\Git\GitExecutionManager;

/**
Expand All @@ -37,15 +38,22 @@ class Result extends AbstractResult
*/
protected $executionManager;

/**
* @param ExecutionManager $executionManager
* @see injectSpecificExecutionManager
*/
public function injectExecutionManager(ExecutionManager $executionManager): void
{
}

/**
* @param GitExecutionManager $executionManager
*/
public function injectExecutionManager(GitExecutionManager $executionManager): void
public function injectSpecificExecutionManager(GitExecutionManager $executionManager): void
{
$this->executionManager = $executionManager;
}


/**
* @return void
*/
Expand Down

0 comments on commit 741f90b

Please sign in to comment.