mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-24 18:16:10 +02:00
add some @throws in constructors (#1779)
This commit is contained in:
@@ -33,6 +33,7 @@ class NormalizerFormatter implements FormatterInterface
|
||||
|
||||
/**
|
||||
* @param string|null $dateFormat The format of the timestamp: one supported by DateTime::format
|
||||
* @throws \RuntimeException If the function json_encode does not exist
|
||||
*/
|
||||
public function __construct(?string $dateFormat = null)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user