Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
ksaveras committed May 8, 2020
1 parent 3fecfd5 commit a734e68
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
7 changes: 0 additions & 7 deletions src/Storage/AbstractStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,4 @@ public static function validateKey(string $key): string

return $key;
}

public function increaseFailure(string $name): void
{
$circuit = $this->getCircuit($name);
$circuit->increaseFailure();
$this->saveCircuit($circuit);
}
}
2 changes: 0 additions & 2 deletions src/Storage/StorageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,4 @@ public function getCircuit(string $name): ?Circuit;
public function saveCircuit(Circuit $circuit): void;

public function resetCircuit(string $name): void;

public function increaseFailure(string $name): void;
}

0 comments on commit a734e68

Please sign in to comment.