diff --git a/src/TCKimlikNo.php b/src/TCKimlikNo.php index 0a10d0d..d741176 100644 --- a/src/TCKimlikNo.php +++ b/src/TCKimlikNo.php @@ -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']; @@ -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;