Skip to content

Commit

Permalink
Default data value for UserReportMake changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Paramtamtam committed May 6, 2020
1 parent df67c09 commit 133b883
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog][keepachangelog] and this project adheres to [Semantic Versioning][semver].

## v3.3.1

### Fixed

- Default value for parameter `data` in `::userReportMake` (`ClientInterface` and `Client`) set to `null`

## v3.3.0

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/Client.php
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ public function userReportMake(string $report_type_uid,
?bool $is_force = false,
?string $on_update = null,
?string $on_complete = null,
?array $data = []): UserReportMakeResponse
?array $data = null): UserReportMakeResponse
{
$request_options = [];

Expand Down
2 changes: 1 addition & 1 deletion src/ClientInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public function userReportMake(string $report_type_uid,
?bool $is_force = false,
?string $on_update = null,
?string $on_complete = null,
?array $data = []): UserReportMakeResponse;
?array $data = null): UserReportMakeResponse;

/**
* Refresh existing report.
Expand Down

0 comments on commit 133b883

Please sign in to comment.