Skip to content

Commit 416c624

Browse files
committed
Fix psalm errors
1 parent 2d386ac commit 416c624

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

src/Facades/Subscription.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
class Subscription extends Facade
1212
{
1313
/**
14-
* @return string|void
14+
* @return string
1515
*/
1616
protected static function getFacadeAccessor()
1717
{

src/PurchaseServiceProvider.php

+2-3
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Imdhemy\Purchases;
44

5-
use Illuminate\Foundation\Application;
65
use Illuminate\Support\Facades\Route;
76
use Illuminate\Support\ServiceProvider;
87
use Imdhemy\GooglePlay\ClientFactory;
@@ -37,13 +36,13 @@ public function register()
3736
$this->mergeConfigFrom(__DIR__ . '/../config/purchase.php', 'purchase');
3837
$this->app->register(EventServiceProvider::class);
3938

40-
$this->app->bind('product', function (Application $app) {
39+
$this->app->bind('product', function () {
4140
$client = ClientFactory::create([ClientFactory::SCOPE_ANDROID_PUBLISHER]);
4241

4342
return new Product($client);
4443
});
4544

46-
$this->app->bind('subscription', function (Application $app) {
45+
$this->app->bind('subscription', function () {
4746
$client = ClientFactory::create([ClientFactory::SCOPE_ANDROID_PUBLISHER]);
4847

4948
return new Subscription($client);

0 commit comments

Comments
 (0)