Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
denisyukphp committed Dec 23, 2021
1 parent b9989cf commit d639749
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ Configure Throttler as below:
<?php

use Orangesoft\Throttler\Collection\Node;
use Orangesoft\Throttler\Collection\NodeInterface;
use Orangesoft\Throttler\Collection\Collection;
use Orangesoft\Throttler\Strategy\WeightedRoundRobinStrategy;
use Orangesoft\Throttler\Strategy\InMemoryCounter;
Expand All @@ -45,7 +44,7 @@ $collection = new Collection([
]);

while (true) {
/** @var NodeInterface $node */
/** @var Node $node */
$node = $throttler->pick($collection);

// ...
Expand Down

0 comments on commit d639749

Please sign in to comment.