You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, Perhaps this is a stupid question needing a curt reply, but I am getting a syntax error ... from the colon.... before the MessageInstance from Netbeans:
public function sms(string $to, string $text, array $options = []) : MessageInstance
I must be missing something really obvious here? Can you provide me please with some advanced knowledge on how to read this syntax.
Also there are two question marks after the ['from']. Educate me please!
Hi, Perhaps this is a stupid question needing a curt reply, but I am getting a syntax error ... from the colon.... before the MessageInstance from Netbeans:
public function sms(string $to, string $text, array $options = []) : MessageInstance
I must be missing something really obvious here? Can you provide me please with some advanced knowledge on how to read this syntax.
Also there are two question marks after the ['from']. Educate me please!
# ### $from = $options['from']?? null;