|
@@ -215,10 +215,10 @@ |
|
|
block discarded – undo |
|
215
|
215
|
|
|
216
|
216
|
if (count($values) !== count($keys)) { |
|
217
|
217
|
$this->handleFailedDispatch($batch, new \RuntimeException( |
|
218
|
|
- self::class . ' must be constructed with a function which accepts ' . |
|
219
|
|
- 'an array of keys and returns a Promise which resolves to an array of values, but ' . |
|
220
|
|
- 'the function did not return a Promise of an array of the same length as the array of keys.' . |
|
221
|
|
- sprintf("\n Keys: %s\n Values: %s\n", count($keys), count($values)) |
|
|
218
|
+ self::class . ' must be constructed with a function which accepts ' . |
|
|
219
|
+ 'an array of keys and returns a Promise which resolves to an array of values, but ' . |
|
|
220
|
+ 'the function did not return a Promise of an array of the same length as the array of keys.' . |
|
|
221
|
+ sprintf("\n Keys: %s\n Values: %s\n", count($keys), count($values)) |
|
222
|
222
|
)); |
|
223
|
223
|
} |
|
224
|
224
|
|
Please login to merge, or discard this patch.