Some improvement

Remove it and change line 78 to: 
$hasValidSubscription = $this->subscriptionService->hasValidSubscription($user, true);