Bug in example UserSubscriptionManagerInterface
Closed this issue · 1 comments
stephrsh commented
Hi,
just to tell you that i tried you example UserSubscriptionManagerInterface class, but i had a fatal error.
I just add =[]
and to get it works
public function factory(UserInterface $user, string $subscriptionHash, array $subscription, array $options): UserSubscriptionInterface
to
public function factory(UserInterface $user, string $subscriptionHash, array $subscription, array $options=[]): UserSubscriptionInterface