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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

### Bug Fixes
1. [#162](https://github.com/influxdata/influxdb-client-php/issues/162): PHP 8.4 - fgetcsv() needs provide explicitly argument escape
2. [#164](https://github.com/influxdata/influxdb-client-php/pull/164): Fixes deprecation warnings about implicitly nullable arguments

## 3.6.0 [2024-06-24]

Expand Down
2 changes: 1 addition & 1 deletion src/InfluxDB2/WritePayloadSerializer.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class WritePayloadSerializer
* @param int|null $writeType specify type of writes - WriteType::SYNCHRONOUS or WriteType::BATCHING
* @return BatchItem|string|null
*/
public static function generatePayload($data, string $precision = null, string $bucket = null, string $org = null, int $writeType = null)
public static function generatePayload($data, ?string $precision = null, ?string $bucket = null, ?string $org = null, ?int $writeType = null)
{
if ($data == null || empty($data)) {
return null;
Expand Down