File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 10
10
use Illuminate \Support \ServiceProvider ;
11
11
use InvalidArgumentException ;
12
12
use MongoDB \Laravel \Bus \MongoBatchRepository ;
13
+ use Override ;
13
14
14
15
use function sprintf ;
15
16
@@ -18,6 +19,7 @@ class MongoDBBusServiceProvider extends ServiceProvider implements DeferrablePro
18
19
/**
19
20
* Register the service provider.
20
21
*/
22
+ #[Override]
21
23
public function register ()
22
24
{
23
25
$ this ->app ->singleton (MongoBatchRepository::class, function (Container $ app ) {
@@ -46,6 +48,8 @@ public function register()
46
48
});
47
49
}
48
50
51
+ /** @inheritdoc */
52
+ #[Override]
49
53
public function provides ()
50
54
{
51
55
return [
Original file line number Diff line number Diff line change 24
24
use MongoDB \Laravel \Queue \MongoConnector ;
25
25
use MongoDB \Laravel \Scout \ScoutEngine ;
26
26
use MongoDB \Laravel \Session \MongoDbSessionHandler ;
27
+ use Override ;
27
28
use RuntimeException ;
28
29
29
30
use function assert ;
@@ -47,6 +48,7 @@ public function boot()
47
48
/**
48
49
* Register the service provider.
49
50
*/
51
+ #[Override]
50
52
public function register ()
51
53
{
52
54
// Add database driver.
You can’t perform that action at this time.
0 commit comments