Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## [4.66.6](https://github.com/plivo/plivo-php/tree/v4.66.6) (2025-03-14)
**Enhancement - Fix implicit nullable warning .**
- Fix warnings related to implicit nullable declaration from PHP 8.4.

## [4.66.5](https://github.com/plivo/plivo-php/tree/v4.66.5) (2025-02-25)
**Enhancement - Supporting parameter_name in WhatsApp Template .**
- Supporting `parameter_name` in WhatsApp Template .
Expand Down
4 changes: 2 additions & 2 deletions src/Plivo/Http/PlivoResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class PlivoResponse
* @param array|null $headers The headers of the response
*/
public function __construct(
PlivoRequest $request = null,
?PlivoRequest $request = null,
$httpStatusCode = null,
$content = null,
array $headers = [])
Expand Down Expand Up @@ -149,4 +149,4 @@ public function __toString()
{
return '[PlivoResponse] HTTP ' . $this->getStatusCode() . ' ' . $this->content;
}
}
}
6 changes: 3 additions & 3 deletions src/Plivo/HttpClients/PlivoGuzzleHttpClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ class PlivoGuzzleHttpClient implements PlivoHttpClientInterface
* @internal param Client|null $Handler .
*/
public function __construct(
Client $guzzleClient = null,
BasicAuth $basicAuth = null,
?Client $guzzleClient = null,
?BasicAuth $basicAuth = null,
$proxyHost = null,
$proxyPort = null,
$proxyUsername = null,
Expand Down Expand Up @@ -141,4 +141,4 @@ public function send_request($url, $method, $body, $headers, $timeOut, $request)

return new PlivoResponse($request, $httpStatusCode, $rawBody, $rawHeaders);
}
}
}
2 changes: 1 addition & 1 deletion src/Plivo/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Version
* @const int PHP helper library patch number
*/

const PATCH = 5;
const PATCH = 6;

/**
* @return string
Expand Down
Loading