Skip to content

Commit

Permalink
fix duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
khanzadimahdi committed Nov 25, 2019
1 parent 89ac888 commit c0e6088
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Classes/Bag.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,9 +202,7 @@ protected function preparePoolConfigs(callable $resolve = null, callable $reject

$this->requests[$index]['response'] = $response;

if (is_callable($reject)) {
$reject($response, $request);
}
$request->error($response);
if (is_callable($reject)) {
$reject($response, $request);
}
Expand Down

0 comments on commit c0e6088

Please sign in to comment.