Skip to content

Commit

Permalink
Fix: Remove unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
localheinz committed Apr 19, 2020
1 parent a53e058 commit 6858a4d
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions test/Util/Scenario.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,22 +35,6 @@ public static function fromCommandInvocationAndInitialState(CommandInvocation $i
return $scenario;
}

/**
* @deprecated
*
* @param Directory $directory
*
* @return Scenario
*/
public static function fromDirectory(Directory $directory): self
{
$scenario = new self();

$scenario->initialState = State::fromDirectory($directory);

return $scenario;
}

public function directory(): Directory
{
return $this->initialState->directory();
Expand Down

0 comments on commit 6858a4d

Please sign in to comment.