8000 widen return type for Monolog 3 compatibility · symfony/symfony@40a8561 · GitHub
[go: up one dir, main page]

Skip to content

Commit 40a8561

Browse files
committed
widen return type for Monolog 3 compatibility
1 parent c973874 commit 40a8561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bridge/Monolog/Handler/NotifierHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ private function notify(array $records): void
7171
$this->notifier->send($notification, ...$this->notifier->getAdminRecipients());
7272
}
7373

74-
private function getHighestRecord(array $records): array
74+
private function getHighestRecord(array $records): array|LogRecord
7575
{
7676
$highestRecord = null;
7777
foreach ($records as $record) {

0 commit comments

Comments
 (0)
0