Skip to content

Commit

Permalink
fix: always recreate finder class
Browse files Browse the repository at this point in the history
  • Loading branch information
yusuftaufiq committed Apr 7, 2022
1 parent 73597be commit bfaefef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Providers/AppServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@

namespace Haemanthus\CodeIgniter3IdeHelper\Providers;

use DI\Scope;
use Symfony\Component\Finder\Finder;

class AppServiceProvider
{
public static function register()
{
return [
Finder::class => \DI\object(Finder::class)->scope(Scope::PROTOTYPE),
];
}
}

0 comments on commit bfaefef

Please sign in to comment.