File tree 2 files changed +3
-4
lines changed
2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 11
11
class Subscription extends Facade
12
12
{
13
13
/**
14
- * @return string|void
14
+ * @return string
15
15
*/
16
16
protected static function getFacadeAccessor ()
17
17
{
Original file line number Diff line number Diff line change 2
2
3
3
namespace Imdhemy \Purchases ;
4
4
5
- use Illuminate \Foundation \Application ;
6
5
use Illuminate \Support \Facades \Route ;
7
6
use Illuminate \Support \ServiceProvider ;
8
7
use Imdhemy \GooglePlay \ClientFactory ;
@@ -37,13 +36,13 @@ public function register()
37
36
$ this ->mergeConfigFrom (__DIR__ . '/../config/purchase.php ' , 'purchase ' );
38
37
$ this ->app ->register (EventServiceProvider::class);
39
38
40
- $ this ->app ->bind ('product ' , function (Application $ app ) {
39
+ $ this ->app ->bind ('product ' , function () {
41
40
$ client = ClientFactory::create ([ClientFactory::SCOPE_ANDROID_PUBLISHER ]);
42
41
43
42
return new Product ($ client );
44
43
});
45
44
46
- $ this ->app ->bind ('subscription ' , function (Application $ app ) {
45
+ $ this ->app ->bind ('subscription ' , function () {
47
46
$ client = ClientFactory::create ([ClientFactory::SCOPE_ANDROID_PUBLISHER ]);
48
47
49
48
return new Subscription ($ client );
You can’t perform that action at this time.
0 commit comments