Skip to content

Commit

Permalink
Fixed incompatibile method signature
Browse files Browse the repository at this point in the history
  • Loading branch information
dejwCake committed Sep 17, 2019
1 parent b59573a commit 22f5532
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Formatters/LineWithHashFormatter.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class LineWithHashFormatter extends LineFormatter
* @param array $record
* @return array|mixed|string|string[]|void|null
*/
public function format(array $record)
public function format(array $record): string
{
$output = parent::format($record);
if (false !== strpos($output, '%' . self::KEY . '%')) {
Expand All @@ -28,7 +28,7 @@ public function format(array $record)
}
return $output;
}

/**
* Get request hash
*
Expand Down

0 comments on commit 22f5532

Please sign in to comment.