Skip to content
This repository was archived by the owner on Jul 30, 2018. It is now read-only.

Commit 5353c4b

Browse files
committed
Updated logger type to Psr\Log\LoggerInterface
1 parent 3e1a03f commit 5353c4b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

lib/SeatsIo/SeatsIo.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use Buzz\Browser;
66
use Buzz\Client\Curl;
77
use Buzz\Message\Response;
8-
use Monolog\Logger;
8+
use Psr\Log\LoggerInterface;
99

1010
/**
1111
* SeatsIo
@@ -56,6 +56,9 @@ class SeatsIo
5656
*/
5757
protected $baseUrl;
5858

59+
/**
60+
* @var LoggerInterface
61+
*/
5962
protected $logger;
6063

6164
/**
@@ -64,7 +67,7 @@ class SeatsIo
6467
* @param string $secretKey
6568
* @param Browser $browser
6669
*/
67-
public function __construct($secretKey = null, Browser $browser = null, $stagingEnvironment = false, Logger $logger = null)
70+
public function __construct($secretKey = null, Browser $browser = null, $stagingEnvironment = false, LoggerInterface $logger = null)
6871
{
6972
$this->setSecretKey($secretKey);
7073
$this->setBrowser($browser);

0 commit comments

Comments
 (0)