Passed
Push — master ( 5553cd...dcc1e4 )
by Mike
03:55 queued 01:37
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/LaravelMixpanel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
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
 
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.