We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 824fc4d commit e240232Copy full SHA for e240232
1 file changed
class/Issues.php
@@ -106,7 +106,7 @@ public function getHeaderFromArray($hdr, $asArray = false)
106
break;
107
}
108
109
- return (bool)$asArray ? [$hdr => \trim($val)] : \trim($val);
+ return $asArray ? [$hdr => \trim($val)] : \trim($val);
110
111
112
/**
@@ -118,7 +118,7 @@ public function getHeaderFromArray($hdr, $asArray = false)
118
*/
119
public function getCurlResponse($serialized = false)
120
{
121
- return (bool)$serialized ? \serialize(\base64_encode($this->curl_response)) : $this->curl_response;
+ return $serialized ? \serialize(\base64_encode($this->curl_response)) : $this->curl_response;
122
123
124
0 commit comments