Skip to content

Commit

Permalink
Merge pull request #34 from as-radek/bugfix/fixed-client-phone-type
Browse files Browse the repository at this point in the history
Changed client phone type to string
  • Loading branch information
kamilloo committed Apr 5, 2023
2 parents 69650cc + fb1a83a commit ece88db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/Requests/Transfers24.php
Expand Up @@ -132,7 +132,7 @@ class Transfers24
protected $client_name = null;

/**
* @var int|null
* @var string|null
*/
protected $client_phone = null;

Expand Down Expand Up @@ -751,9 +751,9 @@ public function getCountry(): string
}

/**
* @return int|null
* @return string|null
*/
public function getClientPhone(): ?int
public function getClientPhone(): ?string
{
return $this->client_phone;
}
Expand Down
2 changes: 1 addition & 1 deletion tests/Translators/RegisterTranslatorTest.php
Expand Up @@ -76,7 +76,7 @@ public function translate()
$p24_zip_code = 'zip_code';
$p24_city = 'city';
$p24_country = 'country';
$p24_phone = 123456789;
$p24_phone = '123456789';
$p24_language = 'language';
$p24_url_return = 'url_return';
$p24_url_status = 'url_status';
Expand Down

0 comments on commit ece88db

Please sign in to comment.