Skip to content

Commit f4ee301

Browse files
committed
fix: Fix autoloading issue in Client.php
1 parent 199102f commit f4ee301

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/Client.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
<?php
22

3+
declare(strict_types=1);
4+
35
namespace COT;
46

7+
58
use Exception;
69
use Firebase\JWT\ExpiredException;
710

@@ -17,7 +20,7 @@
1720
use COT\Util\JWTKUtils;
1821
use COT\Util\PKCEUtils;
1922

20-
require '../vendor/autoload.php';
23+
require_once __DIR__ . '../vendor/autoload.php';
2124

2225
if (!defined('URL_REALM')) {
2326
define('URL_REALM', 'https://auth-qa.trustedshops.com/auth/realms/myTS-QA');

0 commit comments

Comments
 (0)