summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-05-13 15:55:44 +0200
committerJoas Schilling <coding@schilljs.com>2022-05-13 15:55:44 +0200
commit7eb73946d97a2bce978e99dc1ce556993f617f03 (patch)
tree7a59d5227ddaaa21c73f1ca47f4cb580cdddb371 /tests
parenta8aec629b46362ff149495e15a80403df398ed2f (diff)
Fix unit test on php 8.0+
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/php/Signaling/BackendNotifierTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/php/Signaling/BackendNotifierTest.php b/tests/php/Signaling/BackendNotifierTest.php
index b933811cf..0edb8f7af 100644
--- a/tests/php/Signaling/BackendNotifierTest.php
+++ b/tests/php/Signaling/BackendNotifierTest.php
@@ -64,7 +64,7 @@ class CustomBackendNotifier extends BackendNotifier {
$this->requests = [];
}
- protected function doRequest(string $url, array $params): void {
+ protected function doRequest(string $url, array $params, int $retries = 3): void {
$this->requests[] = [
'url' => $url,
'params' => $params,