File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ class Provider extends AbstractComponentProvider
52
52
public function isAvailable (): bool
53
53
{
54
54
return class_exists (DatabaseServiceProvider::class)
55
- && is_array ($ this ->app [ ' config ' ]-> get ('database ' , false ))
55
+ && file_exists ($ this ->app -> configPath ('database.php ' ))
56
56
&& $ this ->app ['config ' ]->get ('database.useDefaultProvider ' , true ) === true ;
57
57
}
58
58
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ final class Provider extends AbstractComponentProvider
28
28
*/
29
29
public function isAvailable (): bool
30
30
{
31
- return class_exists (\ Illuminate \ Log \LogServiceProvider::class )
31
+ return file_exists ( $ this -> app -> configPath ( ' logging.php ' ) )
32
32
&& $ this ->app ['config ' ]->get ('logging.useDefaultProvider ' , true ) === true ;
33
33
}
34
34
You can’t perform that action at this time.
0 commit comments