Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Apr 29, 2024
1 parent 159a7b5 commit e6192c7
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/TCKimlikNo.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,11 @@ public static function validate(
try {
$response = Http::post('https://tckimlik.nvi.gov.tr/tcKimlikNoDogrula/search', [
'TCKimlikNo' => (int) $tcKimlikNo,
'Ad' => trim($name),
'Soyad' => trim($surname),
'DogumYil' => (int) $birthYear,
'DogumAy' => (int) $birthMonth,
'DogumGun' => (int) $birthDay,
'Ad' => trim($name),
'Soyad' => trim($surname),
'DogumYil' => (int) $birthYear,
'DogumAy' => (int) $birthMonth,
'DogumGun' => (int) $birthDay,
]);

return (bool) $response['success'];
Expand All @@ -71,9 +71,9 @@ public static function validate(
$response = Soap::to('https://tckimlik.nvi.gov.tr/Service/KPSPublic.asmx?WSDL')
->TCKimlikNoDogrula([
'TCKimlikNo' => (int) $tcKimlikNo,
'Ad' => trim($name),
'Soyad' => trim($surname),
'DogumYili' => (int) $birthYear,
'Ad' => trim($name),
'Soyad' => trim($surname),
'DogumYili' => (int) $birthYear,
]);

return (bool) $response->TCKimlikNoDogrulaResult;
Expand Down

0 comments on commit e6192c7

Please sign in to comment.