diff --git a/src/Monolog/Handler/PushoverHandler.php b/src/Monolog/Handler/PushoverHandler.php index 3d07e41f..2689de1c 100644 --- a/src/Monolog/Handler/PushoverHandler.php +++ b/src/Monolog/Handler/PushoverHandler.php @@ -67,7 +67,7 @@ class PushoverHandler extends SocketHandler /** * @param string $token Pushover api token * @param string|array $users Pushover user id or array of ids the message will be sent to - * @param string $title Title sent to the Pushover API + * @param string|null $title Title sent to the Pushover API * @param string|int $level The minimum logging level at which this handler will be triggered * @param bool $bubble Whether the messages that are handled can bubble up the stack or not * @param bool $useSSL Whether to connect via SSL. Required when pushing messages to users that are not diff --git a/src/Monolog/Logger.php b/src/Monolog/Logger.php index d6eeb9ea..6d48c135 100644 --- a/src/Monolog/Logger.php +++ b/src/Monolog/Logger.php @@ -143,7 +143,7 @@ class Logger implements LoggerInterface, ResettableInterface * @param string $name The logging channel, a simple descriptive name that is attached to all log records * @param HandlerInterface[] $handlers Optional stack of handlers, the first one in the array is called first, etc. * @param callable[] $processors Optional array of processors - * @param ?DateTimeZone $timezone Optional timezone, if not provided date_default_timezone_get() will be used + * @param DateTimeZone|null $timezone Optional timezone, if not provided date_default_timezone_get() will be used */ public function __construct(string $name, array $handlers = [], array $processors = [], ?DateTimeZone $timezone = null) {