diff --git a/src/LiveStream/LiveStream.php b/src/LiveStream/LiveStream.php index 4e4b2cb..65802e8 100644 --- a/src/LiveStream/LiveStream.php +++ b/src/LiveStream/LiveStream.php @@ -58,7 +58,7 @@ class LiveStream /** * Secure access token. * - * @var array + * @var string */ private $token; @@ -92,7 +92,7 @@ public function __construct( $this->clientId = $clientId; $this->scope = $scope; - if ($this->clientId && $this->scope) { + if ($this->clientId !== null && $this->scope !== null) { $this->refreshToken(); } }