|
@@ -15,7 +15,7 @@ discard block |
|
|
block discarded – undo |
|
15
|
15
|
* Package Config Path |
|
16
|
16
|
* @var string |
|
17
|
17
|
*/ |
|
18
|
|
- private $packageConfigPath = __DIR__.'/config/yourmembership.php'; |
|
|
18
|
+ private $packageConfigPath = __DIR__ . '/config/yourmembership.php'; |
|
19
|
19
|
/** |
|
20
|
20
|
* Indicates if loading of the provider is deferred. |
|
21
|
21
|
* |
|
@@ -34,7 +34,7 @@ discard block |
|
|
block discarded – undo |
|
34
|
34
|
$this->packageConfigPath, $this->packageName |
|
35
|
35
|
); |
|
36
|
36
|
|
|
37
|
|
- $this->app->bind(YourMembershipClient::class, function ($app, $parameters) { |
|
|
37
|
+ $this->app->bind(YourMembershipClient::class, function($app, $parameters) { |
|
38
|
38
|
$guzzleClient = new \GuzzleHttp\Client($app['config']['yourmembership']['guzzle-client']); |
|
39
|
39
|
return new YourMembershipClient($guzzleClient, $parameters[0], $parameters[1]); |
|
40
|
40
|
}); |
Please login to merge, or discard this patch.