Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
9 | class DynamoDbServiceProvider extends ServiceProvider |
||
10 | { |
||
11 | /** |
||
12 | * Bootstrap the application events. |
||
13 | * |
||
14 | * @return void |
||
15 | */ |
||
16 | public function boot() |
||
24 | ]); |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * Register the service provider. |
||
29 | */ |
||
30 | public function register() |
||
31 | { |
||
32 | $marshalerOptions = [ |
||
33 | 'nullify_invalid' => true, |
||
34 | ]; |
||
35 | |||
36 | $this->app->singleton(DynamoDbClientInterface::class, function () use ($marshalerOptions) { |
||
37 | $client = new DynamoDbClientService(new Marshaler($marshalerOptions), new EmptyAttributeFilter()); |
||
38 | |||
39 | return $client; |
||
40 | }); |
||
41 | |||
42 | $this->app->singleton('dynamodb', function () { |
||
47 |
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.