fixed static issues

This commit is contained in:
Peter Papp
2021-05-08 09:41:10 +02:00
parent 8b3c6cfc27
commit 50bdac62dc
20 changed files with 945 additions and 139 deletions

View File

@@ -18,12 +18,13 @@ use Illuminate\Contracts\Routing\ResponseFactory;
class PlanController extends Controller
{
/**
* @param StripeService $stripe
*/
public function __construct(StripeService $stripe)
private StripeService $stripe;
private DemoService $demo;
public function __construct()
{
$this->stripe = $stripe;
$this->stripe = resolve(StripeService::class);
$this->demo = resolve(DemoService::class);
}