Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
stfndamjanovic committed Jan 18, 2024
1 parent 1793920 commit 9450ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ $redis->connect("127.0.0.1");

$storage = new RedisStorage($redis);

$breaker = CircuitBreaker::for('3rd-party-service')
$result = CircuitBreaker::for('3rd-party-service')
->storage($storage)
->call(function () {
// Your function that could fail
Expand Down

0 comments on commit 9450ae5

Please sign in to comment.