Incorrect Logger Channel typehint in the BraintreeApiWebhook controller

Created on 3 May 2022, over 2 years ago
Updated 29 September 2023, 12 months ago

BraintreeApiWebhook controller uses the Drupal\Core\Logger\LoggerChannel as the typehint for the $logger argument in constructor call.
This leads to error when module is used with alternative loggers, such as provided by monolog module.
Can be fixed by changing the typehint to Drupal\Core\Logger\LoggerChannelInterface

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine artem_sylchuk Lutsk

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024