We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e7b61e2 commit 0acd057Copy full SHA for 0acd057
src/Exceptions/WebRequestException.php
@@ -18,7 +18,7 @@ class WebRequestException extends Exception implements ExceptionWithContext
18
/** @return string */
19
public function getServiceName() : string
20
{
21
- return $this->serviceName;
+ return $this->serviceName ?? '';
22
}
23
24
/**
@@ -34,7 +34,7 @@ public function setServiceName(string $serviceName) : self
34
35
public function getServiceVersion() : string
36
37
- return $this->serviceVersion;
+ return $this->serviceVersion ?? '';
38
39
40
0 commit comments