mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-07 17:42:53 +01:00
Qual: Fix or ignore functions.lib.php phan notices (#29344)
* Fix: LogHandler parent class, implements interface & provides $code * Fix: functions.lib phan notices * Fix phan notifications * Match expected DebugBar signature - rename getRenderer * Call the correct renderer method for the DebugBar * Use correct key type to access array * Ignore notices * Update functions.lib.php --------- Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
<?php
|
||||
/* Copyright (C) 2024 Frédéric France <frederic.france@free.fr>
|
||||
* Copyright (C) 2024 MDW <mdeweerd@users.noreply.github.com>
|
||||
*/
|
||||
/*
|
||||
* This program is free software; you can redistribute it and/or modify
|
||||
@@ -79,10 +80,11 @@ interface LogHandlerInterface
|
||||
public function isActive();
|
||||
|
||||
/**
|
||||
* Output log content
|
||||
* Export the message
|
||||
*
|
||||
* @param array $content Content to log
|
||||
* @return void
|
||||
* @param array $content Array containing the info about the message
|
||||
* @param string $suffixinfilename When output is a file, append this suffix into default log filename.
|
||||
* @return void
|
||||
*/
|
||||
public function export($content);
|
||||
public function export($content, $suffixinfilename = '');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user