Code Duplication    Length = 8-8 lines in 2 locations

src/Http/Requests/RecordStripeEvent.php 2 locations

@@ 154-161 (lines=8) @@
151
                }
152
            }
153
        } else {
154
            if ($planStatus === 'active') {
155
                $profileData = [
156
                    'Subscription' => $planName,
157
                ];
158
                $trackingData = [
159
                    ['Subscription', ['Status' => 'Created']],
160
                ];
161
            }
162
163
            if ($planStatus === 'trialing') {
164
                $profileData = [
@@ 163-170 (lines=8) @@
160
                ];
161
            }
162
163
            if ($planStatus === 'trialing') {
164
                $profileData = [
165
                    'Subscription' => 'Trial',
166
                ];
167
                $trackingData = [
168
                    ['Subscription', ['Status' => 'Trial']],
169
                ];
170
            }
171
        }
172
173
        event(new MixpanelEvent($user, $trackingData, 0, $profileData));