diff --git a/src/spresnac/logcrawlerclient/Handler/LogCrawler.php b/src/spresnac/logcrawlerclient/Handler/LogCrawler.php index 69036d0..afaba47 100644 --- a/src/spresnac/logcrawlerclient/Handler/LogCrawler.php +++ b/src/spresnac/logcrawlerclient/Handler/LogCrawler.php @@ -4,10 +4,11 @@ use Monolog\Logger; use Monolog\Handler\AbstractSyslogHandler; +use spresnac\logcrawlerclient\Request\LogCrawlerCurlRequest; class LogCrawler extends AbstractSyslogHandler { - /** @var CurlRequest */ + /** @var LogCrawlerCurlRequest */ private $curlRequest; /** @var int */ @@ -29,7 +30,7 @@ class LogCrawler extends AbstractSyslogHandler private $queue = []; public function __construct( - CurlRequest $curlRequest, + LogCrawlerCurlRequest $curlRequest, $facility = LOG_USER, $level = Logger::DEBUG, bool $bubble = true, diff --git a/src/spresnac/logcrawlerclient/Handler/CurlRequest.php b/src/spresnac/logcrawlerclient/Request/LogCrawlerCurlRequest.php similarity index 95% rename from src/spresnac/logcrawlerclient/Handler/CurlRequest.php rename to src/spresnac/logcrawlerclient/Request/LogCrawlerCurlRequest.php index ea31d81..a4d016d 100644 --- a/src/spresnac/logcrawlerclient/Handler/CurlRequest.php +++ b/src/spresnac/logcrawlerclient/Request/LogCrawlerCurlRequest.php @@ -1,8 +1,8 @@