@@ -2,4 +2,4 @@ |
||
2 | 2 | |
3 | 3 | use GeneaLabs\LaravelMixpanel\Http\Controllers\StripeWebhooksController; |
4 | 4 | |
5 | -Route::post('genealabs/laravel-mixpanel/stripe', StripeWebhooksController::class .'@postTransaction'); |
|
5 | +Route::post('genealabs/laravel-mixpanel/stripe', StripeWebhooksController::class . '@postTransaction'); |
@@ -61,7 +61,7 @@ |
||
61 | 61 | $data = array_filter($data); |
62 | 62 | $properties = array_filter($properties); |
63 | 63 | |
64 | - if ((! array_key_exists('$browser', $data)) && $browserInfo->isRobot()) { |
|
64 | + if (( ! array_key_exists('$browser', $data)) && $browserInfo->isRobot()) { |
|
65 | 65 | $data['$browser'] = 'Robot'; |
66 | 66 | } |
67 | 67 |
@@ -23,7 +23,7 @@ discard block |
||
23 | 23 | { |
24 | 24 | $data = $this->json()->all(); |
25 | 25 | |
26 | - if (! $data || ! ($data['data'] ?? false)) { |
|
26 | + if ( ! $data || ! ($data['data'] ?? false)) { |
|
27 | 27 | return; |
28 | 28 | } |
29 | 29 | |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | $authModel = config('auth.providers.users.model') ?? config('auth.model'); |
36 | 36 | $user = app($authModel)->where('stripe_id', $stripeCustomerId)->first(); |
37 | 37 | |
38 | - if (! $user) { |
|
38 | + if ( ! $user) { |
|
39 | 39 | return; |
40 | 40 | } |
41 | 41 |