Skip to content

Commit

Permalink
Remove type casts from config values
Browse files Browse the repository at this point in the history
  • Loading branch information
orkhanshukurlu committed Oct 13, 2023
1 parent 4b0ab44 commit f145f7e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/SendSMS.php
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,10 @@ final class SendSMS
*/
public function __construct()
{
$this->username = (string) config('msm.username', '');
$this->password = (string) config('msm.password', '');
$this->sender = (string) config('msm.sender', '');
$this->logging = (bool) config('msm.logging', false);
$this->username = config('msm.username', '');
$this->password = config('msm.password', '');
$this->sender = config('msm.sender', '');
$this->logging = config('msm.logging', false);
}

/**
Expand Down

0 comments on commit f145f7e

Please sign in to comment.