-
Notifications
You must be signed in to change notification settings - Fork 277
Closed
Description
Problem synopsis
Got the following exception:
PHP Fatal error: Declaration of JiraRestApi\NoOperationMonologHandler::write(array $record): void must be compatible with Monolog\Handler\AbstractProcessingHandler::write(Monolog\LogRecord $record): void in vendor/lesstif/php-jira-rest-client/src/NoOperationMonologHandler.php on line 16
It seems the parent abstract class has the argument typehinted as LogRecord
, but the NoOperationMonologHandler::write()
method uses array
instead.
How to reproduce?
Switch off logging (E.g. by passing 'jiraLogEnabled' => false
)
lesstif
Metadata
Metadata
Assignees
Labels
No labels