summaryrefslogtreecommitdiff
path: root/vendor/symfony/http-kernel/Tests/HttpCache/EsiTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/http-kernel/Tests/HttpCache/EsiTest.php')
-rw-r--r--vendor/symfony/http-kernel/Tests/HttpCache/EsiTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/symfony/http-kernel/Tests/HttpCache/EsiTest.php b/vendor/symfony/http-kernel/Tests/HttpCache/EsiTest.php
index 863ad76147..846caee4cc 100644
--- a/vendor/symfony/http-kernel/Tests/HttpCache/EsiTest.php
+++ b/vendor/symfony/http-kernel/Tests/HttpCache/EsiTest.php
@@ -234,7 +234,7 @@ class EsiTest extends TestCase
if (\is_array($response)) {
$cache->expects($this->any())
->method('handle')
- ->will(\call_user_func_array(array($this, 'onConsecutiveCalls'), $response))
+ ->will($this->onConsecutiveCalls(...$response))
;
} else {
$cache->expects($this->any())