Skip to content

Commit

Permalink
Merge pull request #126 from warcooft/reafactor
Browse files Browse the repository at this point in the history
refactor: use instantiation
  • Loading branch information
datamweb authored Jul 21, 2024
2 parents 970262b + 60a85ad commit 6d42536
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
$overrides = [
'declare_strict_types' => true,
'void_return' => true,
'modernize_strpos' => false,
];

$options = [
Expand Down
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

0 comments on commit 6d42536

Please sign in to comment.