Skip to content

Commit

Permalink
Address Deprecation and Expected Type Warnings (#28)
Browse files Browse the repository at this point in the history
* type hint $curl_handle

* use Level::Debug
  • Loading branch information
MizouziE authored Oct 5, 2024
1 parent 3d75d28 commit a62109b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Monolog/Handler/LogdnaHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class LogdnaHandler extends \Monolog\Handler\AbstractProcessingHandler
private $include_request_time = true;

/**
* @var resource $curl_handle
* @var \CurlHandle $curl_handle
*/
private $curl_handle;

Expand Down Expand Up @@ -94,7 +94,7 @@ public function setIncludeRequestTime($include)
* @param int|string|\Monolog\Level $level
* @param bool $bubble
*/
public function __construct($ingestion_key, $hostname, $level = \Monolog\Logger::DEBUG, bool $bubble = true)
public function __construct($ingestion_key, $hostname, $level = \Monolog\Level::Debug, bool $bubble = true)
{
parent::__construct($level, $bubble);

Expand Down

0 comments on commit a62109b

Please sign in to comment.