Passed
Push — master ( ceb8d3...141bf9 )
by Mike
06:45
created
routes/api.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,4 +2,4 @@
 block discarded – undo
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');
Please login to merge, or discard this patch.
src/Http/Requests/RecordStripeEvent.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/LaravelMixpanel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
             'ip' => $this->request->ip(),
49 49
         ];
50 50
 
51
-        if ((! array_key_exists('$browser', $data)) && $browserInfo->isRobot()) {
51
+        if (( ! array_key_exists('$browser', $data)) && $browserInfo->isRobot()) {
52 52
             $data['$browser'] = 'Robot';
53 53
         }
54 54
 
Please login to merge, or discard this patch.