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) {