Skip to content

\Psr\Log\AbstractLogger function signature compatibility for PHP8.1

ufundo requested to merge ufundo/gocardless:psr-logger-errors into main

On PHP8.1 I'm getting errors that the function signatures don't match the \Psr\Log\AbstractLogger parent class method.

This PR removes the individual log level functions (as these are already implemented in the parent) and adds the full signature for the log method.

Merge request reports