|
@@ -1,4 +1,4 @@ discard block |
|
|
block discarded – undo |
|
1
|
|
-<?php declare(strict_types=1); |
|
|
1
|
+<?php declare(strict_types = 1); |
|
2
|
2
|
|
|
3
|
3
|
namespace ApiClients\Middleware\Pool; |
|
4
|
4
|
|
|
@@ -40,7 +40,7 @@ discard block |
|
|
block discarded – undo |
|
40
|
40
|
|
|
41
|
41
|
/** @var Pool $pool */ |
|
42
|
42
|
$pool = $options[self::class][Options::POOL]; |
|
43
|
|
- return $pool->allocateOne()->then(function (Allocation $allocation) use ($request, $transactionId) { |
|
|
43
|
+ return $pool->allocateOne()->then(function(Allocation $allocation) use ($request, $transactionId) { |
|
44
|
44
|
$this->allocations[$transactionId] = $allocation; |
|
45
|
45
|
return resolve($request); |
|
46
|
46
|
}); |
Please login to merge, or discard this patch.