From b86592d9e856036b01bb16eb34a5f6463f67b26e Mon Sep 17 00:00:00 2001 From: David Kalianko Date: Thu, 19 Sep 2024 11:49:04 +0200 Subject: [PATCH] Fix Phpstan error --- src/DigiSignClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DigiSignClient.php b/src/DigiSignClient.php index a8fa00f..80dad6b 100644 --- a/src/DigiSignClient.php +++ b/src/DigiSignClient.php @@ -138,7 +138,7 @@ private function createUri(string $uri, array $options): UriInterface { // replace uri parameters with its values preg_match_all('/{(\w+)}/', $uri, $matches); - $searches = $matches[1] ?? []; + $searches = $matches[1]; $replaces = []; foreach ($searches as $search) {