@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | { |
46 | 46 | $this->app->singleton( |
47 | 47 | TypeMapperInterface::class, |
48 | - function () { |
|
48 | + function() { |
|
49 | 49 | return new TypeMapper(); |
50 | 50 | } |
51 | 51 | ); |
@@ -55,7 +55,7 @@ discard block |
||
55 | 55 | { |
56 | 56 | $this->app->bind( |
57 | 57 | ParserInterface::class, |
58 | - function (Application $app) { |
|
58 | + function(Application $app) { |
|
59 | 59 | return new Parser( |
60 | 60 | new JsonApiClientManger(), |
61 | 61 | new Hydrator($app->make(TypeMapperInterface::class)), |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | { |
70 | 70 | $this->app->bind( |
71 | 71 | ApiClientInterface::class, |
72 | - function () { |
|
72 | + function() { |
|
73 | 73 | return new ApiClient( |
74 | 74 | $this->getHttpClient(), |
75 | 75 | config('jsonapi.base_uri'), |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | |
81 | 81 | $this->app->bind( |
82 | 82 | ApiDocumentClientInterface::class, |
83 | - function (Application $app) { |
|
83 | + function(Application $app) { |
|
84 | 84 | return new ApiDocumentClient( |
85 | 85 | $app->make(ApiClientInterface::class), |
86 | 86 | $app->make(ParserInterface::class) |