Skip to content

Commit

Permalink
fix(syntax): tests failing below 7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
sudkumar committed Sep 28, 2020
1 parent 94a73de commit e6afd04
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/OTP/Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function otp($otp = null)
* @param int|null $mobile - receipient's mobile number
* @return $this
*/
public function to($mobile = null): self
public function to($mobile = null)
{
$this->mobile($mobile);
return $this;
Expand Down
2 changes: 1 addition & 1 deletion src/Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function key($key = null)
return $this;
}

abstract public function to($mobile = null): self;
abstract public function to($mobile = null);

/**
* Set the sender of the message
Expand Down
2 changes: 1 addition & 1 deletion src/SMS/Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class Options extends Msg91Options
* @param int|array|null $mobile - receipient's mobile number
* @return $this
*/
public function to($mobile = null): self
public function to($mobile = null)
{
if (is_array($mobile)) {
if (count($mobile) > 0 && is_array($mobile[0])) {
Expand Down

0 comments on commit e6afd04

Please sign in to comment.