Closed check24-axel-nitzsche closed 3 years ago
This package is considered feature-complete, and is now in security-only maintenance mode, following a decision by the Technical Steering Committee. If you have a security issue, please follow our security reporting guidelines. If you wish to take on the role of maintainer, please nominate yourself
If you are looking for an actively maintained package alternative, we recommend:
Bug Report
Summary
The log-level specific methods like
\Laminas\Log\Logger::alert
are declared with a@param string $message
PHPDoc-Block, which is wrong, as the\Laminas\Log\Logger::log
method is declared with@param mixed $message
.Current behavior
Static code analysis tools like
phpstan/phpstan
report a error, if you call any of these methods with anything else than astring
.Expected behavior
All of the log-level specific methods are declared with a
@param mixed $message
PHPDoc-Block, like\Laminas\Log\Logger::log
is.