Skip to content

Commit

Permalink
ошибки линтера
Browse files Browse the repository at this point in the history
  • Loading branch information
EvgenyRomanov committed Aug 28, 2023
1 parent 26e22cf commit ce8bd96
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion app/App.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,9 @@ protected function curlSetOpt(CurlHandle $curl, array $data): void
curl_setopt($curl, CURLOPT_POSTFIELDS, $payload);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
curl_setopt(
$curl, CURLOPT_HTTPHEADER, [
$curl,
CURLOPT_HTTPHEADER,
[
'Content-Type: ' . $this->contentType,
'Content-Length: ' . mb_strlen($payload),
'x-api-key: ' . $this->apiKey,
Expand Down
1 change: 0 additions & 1 deletion public/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,5 @@
use App\App;

$listEmails = ['bla-bla', '[email protected]'];

$app = new App();
print_r($app->validateEmails($listEmails));

0 comments on commit ce8bd96

Please sign in to comment.