Kaynağa Gözat

Merge branch '1.x'

Jordi Boggiano 7 yıl önce
ebeveyn
işleme
bd7b28e5ee

+ 6 - 6
src/Monolog/Handler/AbstractHandler.php

@@ -24,8 +24,8 @@ abstract class AbstractHandler extends Handler
     protected $bubble = true;
     protected $bubble = true;
 
 
     /**
     /**
-     * @param int     $level  The minimum logging level at which this handler will be triggered
-     * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+     * @param 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
      */
      */
     public function __construct($level = Logger::DEBUG, $bubble = true)
     public function __construct($level = Logger::DEBUG, $bubble = true)
     {
     {
@@ -67,8 +67,8 @@ abstract class AbstractHandler extends Handler
     /**
     /**
      * Sets the bubbling behavior.
      * Sets the bubbling behavior.
      *
      *
-     * @param  Boolean $bubble true means that this handler allows bubbling.
-     *                         false means that bubbling is not permitted.
+     * @param  bool $bubble true means that this handler allows bubbling.
+     *                      false means that bubbling is not permitted.
      * @return self
      * @return self
      */
      */
     public function setBubble(bool $bubble): self
     public function setBubble(bool $bubble): self
@@ -81,8 +81,8 @@ abstract class AbstractHandler extends Handler
     /**
     /**
      * Gets the bubbling behavior.
      * Gets the bubbling behavior.
      *
      *
-     * @return Boolean true means that this handler allows bubbling.
-     *                 false means that bubbling is not permitted.
+     * @return bool true means that this handler allows bubbling.
+     *              false means that bubbling is not permitted.
      */
      */
     public function getBubble(): bool
     public function getBubble(): bool
     {
     {

+ 3 - 3
src/Monolog/Handler/AbstractSyslogHandler.php

@@ -54,9 +54,9 @@ abstract class AbstractSyslogHandler extends AbstractProcessingHandler
     ];
     ];
 
 
     /**
     /**
-     * @param mixed   $facility
-     * @param int     $level    The minimum logging level at which this handler will be triggered
-     * @param Boolean $bubble   Whether the messages that are handled can bubble up the stack or not
+     * @param mixed $facility
+     * @param 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
      */
      */
     public function __construct($facility = LOG_USER, $level = Logger::DEBUG, $bubble = true)
     public function __construct($facility = LOG_USER, $level = Logger::DEBUG, $bubble = true)
     {
     {

+ 2 - 2
src/Monolog/Handler/BufferHandler.php

@@ -36,8 +36,8 @@ class BufferHandler extends AbstractHandler implements ProcessableHandlerInterfa
      * @param HandlerInterface $handler         Handler.
      * @param HandlerInterface $handler         Handler.
      * @param int              $bufferLimit     How many entries should be buffered at most, beyond that the oldest items are removed from the buffer.
      * @param int              $bufferLimit     How many entries should be buffered at most, beyond that the oldest items are removed from the buffer.
      * @param int              $level           The minimum logging level at which this handler will be triggered
      * @param int              $level           The minimum logging level at which this handler will be triggered
-     * @param Boolean          $bubble          Whether the messages that are handled can bubble up the stack or not
-     * @param Boolean          $flushOnOverflow If true, the buffer is flushed when the max size has been reached, by default oldest entries are discarded
+     * @param bool             $bubble          Whether the messages that are handled can bubble up the stack or not
+     * @param bool             $flushOnOverflow If true, the buffer is flushed when the max size has been reached, by default oldest entries are discarded
      */
      */
     public function __construct(HandlerInterface $handler, $bufferLimit = 0, $level = Logger::DEBUG, $bubble = true, $flushOnOverflow = false)
     public function __construct(HandlerInterface $handler, $bufferLimit = 0, $level = Logger::DEBUG, $bubble = true, $flushOnOverflow = false)
     {
     {

+ 3 - 3
src/Monolog/Handler/ChromePHPHandler.php

@@ -46,7 +46,7 @@ class ChromePHPHandler extends AbstractProcessingHandler
      *
      *
      * Chrome limits the headers to 256KB, so when we sent 240KB we stop sending
      * Chrome limits the headers to 256KB, so when we sent 240KB we stop sending
      *
      *
-     * @var Boolean
+     * @var bool
      */
      */
     protected static $overflowed = false;
     protected static $overflowed = false;
 
 
@@ -59,8 +59,8 @@ class ChromePHPHandler extends AbstractProcessingHandler
     protected static $sendHeaders = true;
     protected static $sendHeaders = true;
 
 
     /**
     /**
-     * @param int     $level  The minimum logging level at which this handler will be triggered
-     * @param Boolean $bubble Whether the messages that are handled can bubble up the stack or not
+     * @param 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
      */
      */
     public function __construct($level = Logger::DEBUG, $bubble = true)
     public function __construct($level = Logger::DEBUG, $bubble = true)
     {
     {

+ 1 - 1
src/Monolog/Handler/DeduplicationHandler.php

@@ -60,7 +60,7 @@ class DeduplicationHandler extends BufferHandler
      * @param string           $deduplicationStore The file/path where the deduplication log should be kept
      * @param string           $deduplicationStore The file/path where the deduplication log should be kept
      * @param int              $deduplicationLevel The minimum logging level for log records to be looked at for deduplication purposes
      * @param int              $deduplicationLevel The minimum logging level for log records to be looked at for deduplication purposes
      * @param int              $time               The period (in seconds) during which duplicate entries should be suppressed after a given log is sent through
      * @param int              $time               The period (in seconds) during which duplicate entries should be suppressed after a given log is sent through
-     * @param Boolean          $bubble             Whether the messages that are handled can bubble up the stack or not
+     * @param bool             $bubble             Whether the messages that are handled can bubble up the stack or not
      */
      */
     public function __construct(HandlerInterface $handler, $deduplicationStore = null, $deduplicationLevel = Logger::ERROR, $time = 60, $bubble = true)
     public function __construct(HandlerInterface $handler, $deduplicationStore = null, $deduplicationLevel = Logger::ERROR, $time = 60, $bubble = true)
     {
     {

+ 4 - 4
src/Monolog/Handler/ElasticSearchHandler.php

@@ -46,10 +46,10 @@ class ElasticSearchHandler extends AbstractProcessingHandler
     protected $options = [];
     protected $options = [];
 
 
     /**
     /**
-     * @param Client  $client  Elastica Client object
-     * @param array   $options Handler configuration
-     * @param int     $level   The minimum logging level at which this handler will be triggered
-     * @param Boolean $bubble  Whether the messages that are handled can bubble up the stack or not
+     * @param Client $client  Elastica Client object
+     * @param array  $options Handler configuration
+     * @param 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
      */
      */
     public function __construct(Client $client, array $options = [], $level = Logger::DEBUG, $bubble = true)
     public function __construct(Client $client, array $options = [], $level = Logger::DEBUG, $bubble = true)
     {
     {

+ 4 - 4
src/Monolog/Handler/ErrorLogHandler.php

@@ -29,10 +29,10 @@ class ErrorLogHandler extends AbstractProcessingHandler
     protected $expandNewlines;
     protected $expandNewlines;
 
 
     /**
     /**
-     * @param int     $messageType    Says where the error should go.
-     * @param int     $level          The minimum logging level at which this handler will be triggered
-     * @param Boolean $bubble         Whether the messages that are handled can bubble up the stack or not
-     * @param Boolean $expandNewlines If set to true, newlines in the message will be expanded to be take multiple log entries
+     * @param int  $messageType    Says where the error should go.
+     * @param 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 $expandNewlines If set to true, newlines in the message will be expanded to be take multiple log entries
      */
      */
     public function __construct($messageType = self::OPERATING_SYSTEM, $level = Logger::DEBUG, $bubble = true, $expandNewlines = false)
     public function __construct($messageType = self::OPERATING_SYSTEM, $level = Logger::DEBUG, $bubble = true, $expandNewlines = false)
     {
     {

+ 2 - 2
src/Monolog/Handler/FilterHandler.php

@@ -42,7 +42,7 @@ class FilterHandler extends Handler implements ProcessableHandlerInterface
     /**
     /**
      * Whether the messages that are handled can bubble up the stack or not
      * Whether the messages that are handled can bubble up the stack or not
      *
      *
-     * @var Boolean
+     * @var bool
      */
      */
     protected $bubble;
     protected $bubble;
 
 
@@ -50,7 +50,7 @@ class FilterHandler extends Handler implements ProcessableHandlerInterface
      * @param callable|HandlerInterface $handler        Handler or factory callable($record, $this).
      * @param callable|HandlerInterface $handler        Handler or factory callable($record, $this).
      * @param int|array                 $minLevelOrList A list of levels to accept or a minimum level if maxLevel is provided
      * @param int|array                 $minLevelOrList A list of levels to accept or a minimum level if maxLevel is provided
      * @param int                       $maxLevel       Maximum level to accept, only used if $minLevelOrList is not an array
      * @param int                       $maxLevel       Maximum level to accept, only used if $minLevelOrList is not an array
-     * @param Boolean                   $bubble         Whether the messages that are handled can bubble up the stack or not
+     * @param bool                      $bubble         Whether the messages that are handled can bubble up the stack or not
      */
      */
     public function __construct($handler, $minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGENCY, $bubble = true)
     public function __construct($handler, $minLevelOrList = Logger::DEBUG, $maxLevel = Logger::EMERGENCY, $bubble = true)
     {
     {

+ 1 - 1
src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php

@@ -22,7 +22,7 @@ interface ActivationStrategyInterface
      * Returns whether the given record activates the handler.
      * Returns whether the given record activates the handler.
      *
      *
      * @param  array   $record
      * @param  array   $record
-     * @return Boolean
+     * @return bool
      */
      */
     public function isHandlerActivated(array $record);
     public function isHandlerActivated(array $record);
 }
 }

+ 2 - 2
src/Monolog/Handler/FingersCrossedHandler.php

@@ -43,8 +43,8 @@ class FingersCrossedHandler extends Handler implements ProcessableHandlerInterfa
      * @param callable|HandlerInterface       $handler            Handler or factory callable($record, $fingersCrossedHandler).
      * @param callable|HandlerInterface       $handler            Handler or factory callable($record, $fingersCrossedHandler).
      * @param int|ActivationStrategyInterface $activationStrategy Strategy which determines when this handler takes action
      * @param int|ActivationStrategyInterface $activationStrategy Strategy which determines when this handler takes action
      * @param int                             $bufferSize         How many entries should be buffered at most, beyond that the oldest items are removed from the buffer.
      * @param int                             $bufferSize         How many entries should be buffered at most, beyond that the oldest items are removed from the buffer.
-     * @param Boolean                         $bubble             Whether the messages that are handled can bubble up the stack or not
-     * @param Boolean                         $stopBuffering      Whether the handler should stop buffering after being triggered (default true)
+     * @param bool                            $bubble             Whether the messages that are handled can bubble up the stack or not
+     * @param bool                            $stopBuffering      Whether the handler should stop buffering after being triggered (default true)
      * @param int                             $passthruLevel      Minimum level to always flush to handler on close, even if strategy not triggered
      * @param int                             $passthruLevel      Minimum level to always flush to handler on close, even if strategy not triggered
      */
      */
     public function __construct($handler, $activationStrategy = null, $bufferSize = 0, $bubble = true, $stopBuffering = true, $passthruLevel = null)
     public function __construct($handler, $activationStrategy = null, $bufferSize = 0, $bubble = true, $stopBuffering = true, $passthruLevel = null)

+ 1 - 1
src/Monolog/Handler/FirePHPHandler.php

@@ -157,7 +157,7 @@ class FirePHPHandler extends AbstractProcessingHandler
     /**
     /**
      * Verifies if the headers are accepted by the current user agent
      * Verifies if the headers are accepted by the current user agent
      *
      *
-     * @return Boolean
+     * @return bool
      */
      */
     protected function headersAccepted()
     protected function headersAccepted()
     {
     {

+ 2 - 2
src/Monolog/Handler/GroupHandler.php

@@ -25,8 +25,8 @@ class GroupHandler extends Handler implements ProcessableHandlerInterface
     protected $handlers;
     protected $handlers;
 
 
     /**
     /**
-     * @param array   $handlers Array of Handlers.
-     * @param Boolean $bubble   Whether the messages that are handled can bubble up the stack or not
+     * @param array $handlers Array of Handlers.
+     * @param bool  $bubble   Whether the messages that are handled can bubble up the stack or not
      */
      */
     public function __construct(array $handlers, $bubble = true)
     public function __construct(array $handlers, $bubble = true)
     {
     {

+ 2 - 2
src/Monolog/Handler/HandlerInterface.php

@@ -29,7 +29,7 @@ interface HandlerInterface
      *
      *
      * @param array $record Partial log record containing only a level key
      * @param array $record Partial log record containing only a level key
      *
      *
-     * @return Boolean
+     * @return bool
      */
      */
     public function isHandling(array $record): bool;
     public function isHandling(array $record): bool;
 
 
@@ -44,7 +44,7 @@ interface HandlerInterface
      * calling further handlers in the stack with a given log record.
      * calling further handlers in the stack with a given log record.
      *
      *
      * @param  array   $record The record to handle
      * @param  array   $record The record to handle
-     * @return Boolean true means that this handler handled the record, and that bubbling is not permitted.
+     * @return bool true means that this handler handled the record, and that bubbling is not permitted.
      *                        false means the record was either not processed or that this handler allows bubbling.
      *                        false means the record was either not processed or that this handler allows bubbling.
      */
      */
     public function handle(array $record): bool;
     public function handle(array $record): bool;

+ 4 - 4
src/Monolog/Handler/IFTTTHandler.php

@@ -30,10 +30,10 @@ class IFTTTHandler extends AbstractProcessingHandler
     private $secretKey;
     private $secretKey;
 
 
     /**
     /**
-     * @param string  $eventName The name of the IFTTT Maker event that should be triggered
-     * @param string  $secretKey A valid IFTTT secret key
-     * @param int     $level     The minimum logging level at which this handler will be triggered
-     * @param Boolean $bubble    Whether the messages that are handled can bubble up the stack or not
+     * @param string $eventName The name of the IFTTT Maker event that should be triggered
+     * @param string $secretKey A valid IFTTT secret key
+     * @param 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
      */
      */
     public function __construct($eventName, $secretKey, $level = Logger::ERROR, $bubble = true)
     public function __construct($eventName, $secretKey, $level = Logger::ERROR, $bubble = true)
     {
     {

+ 1 - 1
src/Monolog/Handler/MandrillHandler.php

@@ -27,7 +27,7 @@ class MandrillHandler extends MailHandler
      * @param string                  $apiKey  A valid Mandrill API key
      * @param string                  $apiKey  A valid Mandrill API key
      * @param callable|\Swift_Message $message An example message for real messages, only the body will be replaced
      * @param callable|\Swift_Message $message An example message for real messages, only the body will be replaced
      * @param int                     $level   The minimum logging level at which this handler will be triggered
      * @param int                     $level   The minimum logging level at which this handler will be triggered
-     * @param Boolean                 $bubble  Whether the messages that are handled can bubble up the stack or not
+     * @param bool                    $bubble  Whether the messages that are handled can bubble up the stack or not
      */
      */
     public function __construct($apiKey, $message, $level = Logger::ERROR, $bubble = true)
     public function __construct($apiKey, $message, $level = Logger::ERROR, $bubble = true)
     {
     {

+ 1 - 1
src/Monolog/Handler/MongoDBHandler.php

@@ -44,7 +44,7 @@ class MongoDBHandler extends AbstractProcessingHandler
      * @param string         $database   Database name
      * @param string         $database   Database name
      * @param string         $collection Collection name
      * @param string         $collection Collection name
      * @param int            $level      The minimum logging level at which this handler will be triggered
      * @param int            $level      The minimum logging level at which this handler will be triggered
-     * @param Boolean        $bubble     Whether the messages that are handled can bubble up the stack or not
+     * @param bool           $bubble     Whether the messages that are handled can bubble up the stack or not
      */
      */
     public function __construct($mongodb, $database, $collection, $level = Logger::DEBUG, $bubble = true)
     public function __construct($mongodb, $database, $collection, $level = Logger::DEBUG, $bubble = true)
     {
     {

+ 1 - 1
src/Monolog/Handler/PsrHandler.php

@@ -31,7 +31,7 @@ class PsrHandler extends AbstractHandler
     /**
     /**
      * @param LoggerInterface $logger The underlying PSR-3 compliant logger to which messages will be proxied
      * @param LoggerInterface $logger The underlying PSR-3 compliant logger to which messages will be proxied
      * @param int             $level  The minimum logging level at which this handler will be triggered
      * @param int             $level  The minimum logging level at which this handler will be triggered
-     * @param Boolean         $bubble Whether the messages that are handled can bubble up the stack or not
+     * @param bool            $bubble Whether the messages that are handled can bubble up the stack or not
      */
      */
     public function __construct(LoggerInterface $logger, $level = Logger::DEBUG, $bubble = true)
     public function __construct(LoggerInterface $logger, $level = Logger::DEBUG, $bubble = true)
     {
     {

+ 3 - 3
src/Monolog/Handler/PushoverHandler.php

@@ -69,8 +69,8 @@ class PushoverHandler extends SocketHandler
      * @param string|array $users             Pushover user id or array of ids the message will be sent to
      * @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       $title             Title sent to the Pushover API
      * @param int          $level             The minimum logging level at which this handler will be triggered
      * @param int          $level             The minimum logging level at which this handler will be triggered
-     * @param Boolean      $bubble            Whether the messages that are handled can bubble up the stack or not
-     * @param Boolean      $useSSL            Whether to connect via SSL. Required when pushing messages to users that are not
+     * @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
      *                                        the pushover.net app owner. OpenSSL is required for this option.
      *                                        the pushover.net app owner. OpenSSL is required for this option.
      * @param int          $highPriorityLevel The minimum logging level at which this handler will start
      * @param int          $highPriorityLevel The minimum logging level at which this handler will start
      *                                        sending "high priority" requests to the Pushover API
      *                                        sending "high priority" requests to the Pushover API
@@ -180,6 +180,6 @@ class PushoverHandler extends SocketHandler
      */
      */
     public function useFormattedMessage($value)
     public function useFormattedMessage($value)
     {
     {
-        $this->useFormattedMessage = (boolean) $value;
+        $this->useFormattedMessage = (bool) $value;
     }
     }
 }
 }

+ 1 - 1
src/Monolog/Handler/RavenHandler.php

@@ -57,7 +57,7 @@ class RavenHandler extends AbstractProcessingHandler
     /**
     /**
      * @param Raven_Client $ravenClient
      * @param Raven_Client $ravenClient
      * @param int          $level       The minimum logging level at which this handler will be triggered
      * @param int          $level       The minimum logging level at which this handler will be triggered
-     * @param Boolean      $bubble      Whether the messages that are handled can bubble up the stack or not
+     * @param bool         $bubble      Whether the messages that are handled can bubble up the stack or not
      */
      */
     public function __construct(Raven_Client $ravenClient, $level = Logger::DEBUG, $bubble = true)
     public function __construct(Raven_Client $ravenClient, $level = Logger::DEBUG, $bubble = true)
     {
     {

+ 2 - 2
src/Monolog/Handler/RotatingFileHandler.php

@@ -40,9 +40,9 @@ class RotatingFileHandler extends StreamHandler
      * @param string   $filename
      * @param string   $filename
      * @param int      $maxFiles       The maximal amount of files to keep (0 means unlimited)
      * @param int      $maxFiles       The maximal amount of files to keep (0 means unlimited)
      * @param int      $level          The minimum logging level at which this handler will be triggered
      * @param int      $level          The minimum logging level at which this handler will be triggered
-     * @param Boolean  $bubble         Whether the messages that are handled can bubble up the stack or not
+     * @param bool     $bubble         Whether the messages that are handled can bubble up the stack or not
      * @param int|null $filePermission Optional file permissions (default (0644) are only for owner read/write)
      * @param int|null $filePermission Optional file permissions (default (0644) are only for owner read/write)
-     * @param Boolean  $useLocking     Try to lock log file before doing any writes
+     * @param bool     $useLocking     Try to lock log file before doing any writes
      */
      */
     public function __construct($filename, $maxFiles = 0, $level = Logger::DEBUG, $bubble = true, $filePermission = null, $useLocking = false)
     public function __construct($filename, $maxFiles = 0, $level = Logger::DEBUG, $bubble = true, $filePermission = null, $useLocking = false)
     {
     {

+ 4 - 4
src/Monolog/Handler/SocketHandler.php

@@ -36,9 +36,9 @@ class SocketHandler extends AbstractProcessingHandler
     private $lastWritingAt;
     private $lastWritingAt;
 
 
     /**
     /**
-     * @param string  $connectionString Socket connection string
-     * @param int     $level            The minimum logging level at which this handler will be triggered
-     * @param Boolean $bubble           Whether the messages that are handled can bubble up the stack or not
+     * @param string $connectionString Socket connection string
+     * @param 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
      */
      */
     public function __construct($connectionString, $level = Logger::DEBUG, $bubble = true)
     public function __construct($connectionString, $level = Logger::DEBUG, $bubble = true)
     {
     {
@@ -90,7 +90,7 @@ class SocketHandler extends AbstractProcessingHandler
      */
      */
     public function setPersistent($persistent)
     public function setPersistent($persistent)
     {
     {
-        $this->persistent = (boolean) $persistent;
+        $this->persistent = (bool) $persistent;
     }
     }
 
 
     /**
     /**

+ 2 - 2
src/Monolog/Handler/StreamHandler.php

@@ -34,9 +34,9 @@ class StreamHandler extends AbstractProcessingHandler
     /**
     /**
      * @param resource|string $stream
      * @param resource|string $stream
      * @param int             $level          The minimum logging level at which this handler will be triggered
      * @param int             $level          The minimum logging level at which this handler will be triggered
-     * @param Boolean         $bubble         Whether the messages that are handled can bubble up the stack or not
+     * @param bool            $bubble         Whether the messages that are handled can bubble up the stack or not
      * @param int|null        $filePermission Optional file permissions (default (0644) are only for owner read/write)
      * @param int|null        $filePermission Optional file permissions (default (0644) are only for owner read/write)
-     * @param Boolean         $useLocking     Try to lock log file before doing any writes
+     * @param bool            $useLocking     Try to lock log file before doing any writes
      *
      *
      * @throws \Exception                If a missing directory is not buildable
      * @throws \Exception                If a missing directory is not buildable
      * @throws \InvalidArgumentException If stream is not a resource or string
      * @throws \InvalidArgumentException If stream is not a resource or string

+ 5 - 5
src/Monolog/Handler/SyslogHandler.php

@@ -32,11 +32,11 @@ class SyslogHandler extends AbstractSyslogHandler
     protected $logopts;
     protected $logopts;
 
 
     /**
     /**
-     * @param string  $ident
-     * @param mixed   $facility
-     * @param int     $level    The minimum logging level at which this handler will be triggered
-     * @param Boolean $bubble   Whether the messages that are handled can bubble up the stack or not
-     * @param int     $logopts  Option flags for the openlog() call, defaults to LOG_PID
+     * @param string $ident
+     * @param mixed  $facility
+     * @param 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 int    $logopts  Option flags for the openlog() call, defaults to LOG_PID
      */
      */
     public function __construct($ident, $facility = LOG_USER, $level = Logger::DEBUG, $bubble = true, $logopts = LOG_PID)
     public function __construct($ident, $facility = LOG_USER, $level = Logger::DEBUG, $bubble = true, $logopts = LOG_PID)
     {
     {

+ 6 - 6
src/Monolog/Handler/SyslogUdpHandler.php

@@ -25,12 +25,12 @@ class SyslogUdpHandler extends AbstractSyslogHandler
     protected $ident;
     protected $ident;
 
 
     /**
     /**
-     * @param string  $host
-     * @param int     $port
-     * @param mixed   $facility
-     * @param int     $level    The minimum logging level at which this handler will be triggered
-     * @param Boolean $bubble   Whether the messages that are handled can bubble up the stack or not
-     * @param string  $ident    Program name or tag for each log message.
+     * @param string $host
+     * @param int    $port
+     * @param mixed  $facility
+     * @param 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 string $ident    Program name or tag for each log message.
      */
      */
     public function __construct($host, $port = 514, $facility = LOG_USER, $level = Logger::DEBUG, $bubble = true, $ident = 'php')
     public function __construct($host, $port = 514, $facility = LOG_USER, $level = Logger::DEBUG, $bubble = true, $ident = 'php')
     {
     {

+ 2 - 2
src/Monolog/Logger.php

@@ -275,7 +275,7 @@ class Logger implements LoggerInterface
      * @param  int     $level   The logging level
      * @param  int     $level   The logging level
      * @param  string  $message The log message
      * @param  string  $message The log message
      * @param  array   $context The log context
      * @param  array   $context The log context
-     * @return Boolean Whether the record has been processed
+     * @return bool Whether the record has been processed
      */
      */
     public function addRecord(int $level, string $message, array $context = []): bool
     public function addRecord(int $level, string $message, array $context = []): bool
     {
     {
@@ -375,7 +375,7 @@ class Logger implements LoggerInterface
      * Checks whether the Logger has a handler that listens on the given level
      * Checks whether the Logger has a handler that listens on the given level
      *
      *
      * @param  int     $level
      * @param  int     $level
-     * @return Boolean
+     * @return bool
      */
      */
     public function isHandling(int $level): bool
     public function isHandling(int $level): bool
     {
     {