Skip to content
Closed
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
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