File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ public function boot()
33
33
*/
34
34
public function register ()
35
35
{
36
- $ this ->app ->singleton ('sms ' , function ($ app ) {
36
+ $ this ->app ->bind ('sms ' , function ($ app ) {
37
37
return new SmsManager ($ app ['config ' ]['sms ' ]);
38
38
});
39
39
}
Original file line number Diff line number Diff line change @@ -112,9 +112,9 @@ public function dispatch(): ResponseInterface
112
112
throw MessageException::notFound ();
113
113
}
114
114
115
- $ this -> connection = $ this ->connection ?? $ this ->resolveConnection ($ this ->device );
115
+ $ connection = $ this ->connection ?? $ this ->resolveConnection ($ this ->device );
116
116
117
- return $ this ->getAdapter ($ this -> connection )->send ($ this ->device , $ this ->message );
117
+ return $ this ->getAdapter ($ connection )->send ($ this ->device , $ this ->message );
118
118
}
119
119
120
120
/**
You can’t perform that action at this time.
0 commit comments