Skip to content

Commit

Permalink
Update Logger.php
Browse files Browse the repository at this point in the history
  • Loading branch information
guibranco authored Aug 22, 2024
1 parent a52b6cc commit 7624678
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Logger.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Logger implements ILogger
public function __construct($loggerUrl, $loggerApiKey, $loggerApiToken, $customUserAgent = null)
{
$this->headers = array(
"User-Agent: " . ($customUserAgent ?? "Pancake/1.0 (+https://github.com/guibranco/pancake)"),
"User-Agent: " . ($customUserAgent ?? "Pancake/0.8 (+https://github.com/guibranco/pancake)"),

Check warning

Code scanning / Phpcs (reported by Codacy)

Concat operator must not be surrounded by spaces Warning

Concat operator must not be surrounded by spaces

Check warning

Code scanning / Phpcs (reported by Codacy)

Array value not aligned correctly; expected 26 spaces but found 12 Warning

Array value not aligned correctly; expected 26 spaces but found 12
"Content-Type: application/json; charset=UTF-8",
"X-API-KEY: " . $loggerApiKey,
"X-API-TOKEN: " . $loggerApiToken,
Expand Down

0 comments on commit 7624678

Please sign in to comment.