Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use instantiation #125

Closed
wants to merge 9 commits into from
2 changes: 1 addition & 1 deletion src/Libraries/Basic/ShieldOAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public function allOAuth(): string
$files = new FileCollection();

/** @var Autoload $autoload */
$autoload = config(Autoload::class);
$autoload = new Autoload();

// Checking if it is installed manually
if (array_key_exists('Datamweb\ShieldOAuth', $autoload->psr4)) {
Expand Down
Loading