1 | <?php |
||
2 | |||
3 | namespace JoshuaChinemezu\SmsGlobal; |
||
4 | |||
5 | use Illuminate\Support\ServiceProvider; |
||
6 | |||
7 | class SmsGlobalServiceProvider extends ServiceProvider |
||
8 | { |
||
9 | /** |
||
10 | * Register services. |
||
11 | * |
||
12 | * @return void |
||
13 | */ |
||
14 | public function register() |
||
15 | { |
||
16 | $this->app->bind('smsglobal-laravel', function () { |
||
0 ignored issues
–
show
|
|||
17 | |||
18 | return new RestApi\RestApiClient; |
||
19 | }); |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Bootstrap services. |
||
24 | * |
||
25 | * @return void |
||
26 | */ |
||
27 | public function boot() |
||
28 | { |
||
29 | $config = realpath(__DIR__ . '/../config/smsglobal.php'); |
||
30 | |||
31 | $this->publishes([ |
||
32 | $config => config_path('smsglobal.php') |
||
33 | ]); |
||
34 | } |
||
35 | } |
||
36 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.