8000 bug #50599 [MonologBridge] widen return type for Monolog 3 compatibil… · symfony/symfony@f6c8b0f · GitHub
[go: up one dir, main page]

Skip to content

Commit f6c8b0f

Browse files
bug #50599 [MonologBridge] widen return type for Monolog 3 compatibility (xabbuh)
This PR was merged into the 6.3 branch. Discussion ---------- [MonologBridge] widen return type for Monolog 3 compatibility | Q | A | ------------- | --- | Branch? | 6.3 | Bug fix? | yes | New feature? | no | Deprecations? | no | Tickets | Fix #50121 (comment) | License | MIT | Doc PR | Commits ------- 40a8561 widen return type for Monolog 3 compatibility
2 parents 26147ce + 40a8561 commit f6c8b0f

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