Skip to content

Commit

Permalink
Merge pull request #43 from sameday-courier/SamedayGetParcelResponse
Browse files Browse the repository at this point in the history
SamedayGetParcelStatusHistoryResponse
  • Loading branch information
Soptareanu authored Mar 5, 2024
2 parents 7c7137c + a0eee69 commit 75d6abf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private function parseHistory(array $json)
$json['statusLabel'],
$json['statusState'],
new DateTime($json['statusDate']),
$json['county'],
$json['county'] ?: null,
$json['reason'],
$json['transitLocation']
);
Expand All @@ -132,7 +132,7 @@ private function parseExpedition(array $json)
$json['statusLabel'],
$json['statusState'],
new DateTime($json['statusDate']),
$json['county'],
$json['county'] ?: null,
$json['reason'],
$json['transitLocation'],
$json['expeditionDetails']
Expand Down
2 changes: 1 addition & 1 deletion src/Sameday/SamedayClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
*/
class SamedayClient implements SamedayClientInterface
{
const VERSION = '2.1.5';
const VERSION = '2.1.6';
const API_HOST = 'https://api.sameday.ro';
const KEY_TOKEN = 'token';
const KEY_TOKEN_EXPIRES = 'expires_at';
Expand Down

0 comments on commit 75d6abf

Please sign in to comment.