Skip to content

Commit df3cdd7

Browse files
committed
Fixed | AutoLoader
1 parent cd5232e commit df3cdd7

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"minimum-stability": "dev",
1515
"autoload":{
1616
"psr-4" : {
17-
"Tidal\": "src/Tidal/"
17+
"Tidal\\": "src/Tidal/"
1818
}
1919
}
20-
}
20+
}

examples/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
require __DIR__.'/src/Tidal/TidalAPI.php';
2+
require_once "vendor/autoload.php";
33

44
use Tidal\TidalAPI;
55

src/Tidal/TidalAPI.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ class TidalAPI
1818

1919
public function __construct()
2020
{
21-
require 'vendor/autoload.php';
2221
$this->client = new Client();
2322
}
2423

0 commit comments

Comments
 (0)