@@ -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 |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | { |
23 | 23 | $data = $this->json()->all(); |
24 | 24 | |
25 | - if (! $data || ! array_key_exists('data', $data)) { |
|
25 | + if ( ! $data || ! array_key_exists('data', $data)) { |
|
26 | 26 | return; |
27 | 27 | } |
28 | 28 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | $authModel = config('auth.providers.users.model') ?? config('auth.model'); |
35 | 35 | $user = app($authModel)->where('stripe_id', $stripeCustomerId)->first(); |
36 | 36 | |
37 | - if (! $user) { |
|
37 | + if ( ! $user) { |
|
38 | 38 | return; |
39 | 39 | } |
40 | 40 |