Skip to content

Commit

Permalink
fix for custom code to align with monolog updates
Browse files Browse the repository at this point in the history
  • Loading branch information
edmund-dunn committed Feb 21, 2024
1 parent 970bec0 commit 0d554d5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace Drupal\va_gov_backend\Logger\Processor;

use Drupal\va_gov_backend\Service\DatadogContextProviderInterface;
use Monolog\LogRecord;
use Monolog\Processor\ProcessorInterface;

/**
Expand Down Expand Up @@ -100,7 +101,7 @@ public function shouldAlterRecord(array $record): bool {
/**
* {@inheritdoc}
*/
public function __invoke(array $record): array {
public function __invoke(LogRecord $record): array {
if (!$this->shouldAlterRecord($record)) {
return $record;
}
Expand Down

0 comments on commit 0d554d5

Please sign in to comment.