Skip to content

Commit 256f708

Browse files
committed
Fix typo to postfields variable
1 parent 4ff14da commit 256f708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Civ13/Verifier.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ private function __unverify(string $id): array
541541
'discord' => $id,
542542
]);
543543
}
544-
private function __verifyRequest(array $postFields): array
544+
private function __verifyRequest(array $postfields): array
545545
{
546546
$postfields['token'] = $this->civ13->civ_token;
547547
$ch = curl_init();
@@ -551,7 +551,7 @@ private function __verifyRequest(array $postFields): array
551551
CURLOPT_RETURNTRANSFER => true,
552552
CURLOPT_USERAGENT => 'Civ13',
553553
CURLOPT_POST => true,
554-
CURLOPT_POSTFIELDS => http_build_query($postFields),
554+
CURLOPT_POSTFIELDS => http_build_query($postfields),
555555
CURLOPT_TIMEOUT => 5, // Set a timeout of 5 seconds
556556
CURLOPT_CONNECTTIMEOUT => 2, // Set a connection timeout of 2 seconds
557557
]);

0 commit comments

Comments
 (0)