Skip to content

Commit

Permalink
Merge pull request #63 from onfido/release-upgrade
Browse files Browse the repository at this point in the history
Refresh onfido-php after onfido-openapi-spec update (08508b9)
  • Loading branch information
dvacca-onfido authored Sep 20, 2024
2 parents 9958639 + 5acac52 commit 75dedc3
Show file tree
Hide file tree
Showing 13 changed files with 4,209 additions and 11 deletions.
8 changes: 4 additions & 4 deletions .release.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"source": {
"repo_url": "https://github.com/onfido/onfido-openapi-spec",
"short_sha": "a33e3b2",
"long_sha": "a33e3b25defea6110ec610051560df2c20bd1f65",
"version": "v3.4.0"
"short_sha": "08508b9",
"long_sha": "08508b9517238b3becb4265130633a418a8ee319",
"version": "v3.5.0"
},
"release": "v7.4.0"
"release": "v7.5.0"
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "onfido/onfido-php",
"version": "7.4.0",
"version": "7.5.0",
"description": "The Onfido API (v3.6)",
"keywords": [
"openapitools",
Expand Down
2 changes: 1 addition & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions lib/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = 'onfido-php/7.4.0';
protected $userAgent = 'onfido-php/7.5.0';

/**
* Debug switch (default set to false)
Expand Down Expand Up @@ -404,7 +404,7 @@ public static function toDebugReport()
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' The version of the OpenAPI document: v3.6' . PHP_EOL;
$report .= ' SDK Package Version: 7.4.0' . PHP_EOL;
$report .= ' SDK Package Version: 7.5.0' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

return $report;
Expand Down
6 changes: 3 additions & 3 deletions lib/Model/WatchlistEnhancedProperties.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class WatchlistEnhancedProperties implements ModelInterface, ArrayAccess, \JsonS
* @var string[]
*/
protected static $openAPITypes = [
'records' => 'string[]'
'records' => '\Onfido\Model\WatchlistEnhancedPropertiesRecordsInner[]'
];

/**
Expand Down Expand Up @@ -292,7 +292,7 @@ public function valid()
/**
* Gets records
*
* @return string[]|null
* @return \Onfido\Model\WatchlistEnhancedPropertiesRecordsInner[]|null
*/
public function getRecords()
{
Expand All @@ -302,7 +302,7 @@ public function getRecords()
/**
* Sets records
*
* @param string[]|null $records Returns any matches including, but not limited to, name and date of birth of match, aliases and associates, and relevant events and sources.
* @param \Onfido\Model\WatchlistEnhancedPropertiesRecordsInner[]|null $records Returns any matches including, but not limited to, name and date of birth of match, aliases and associates, and relevant events and sources.
*
* @return self
*/
Expand Down
Loading

0 comments on commit 75dedc3

Please sign in to comment.