Skip to content

Commit

Permalink
feat(client): update client version
Browse files Browse the repository at this point in the history
  • Loading branch information
sudkumar committed Oct 21, 2019
1 parent 1e9f8c2 commit 4e656e3
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ To verify that everything is working as expected, excecute the following php cod
in an example route or in `php artisan tinker` if you are in Laravel.

```php
// this should print an array of some default configuration values
Msg91::otp()->toArray()
// this should print the `\Craftsys\Msg91\Services\OTPService` of some default configuration values
echo Msg91::otp()::class
```

If there is an issue, please check the steps again or open an issue for support.
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"require": {
"php": ">=7.1",
"craftsys/msg91-php": "^0.5",
"craftsys/msg91-php": "^0.6",
"illuminate/support": "^5.2|^6.0"
},
"require-dev": {
Expand Down
3 changes: 2 additions & 1 deletion src/Facade/Msg91.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
/**
* Facade for Craftsys\Msg91\Client
*
* @method static \Craftsys\Msg91\OTPMessage otp(int|null $otp = null)
* @method static \Craftsys\Msg91\Services\OTPService otp(mixed $otp = null)
* @method static \Craftsys\Msg91\Services\SMSService sms(mixed $otp = null)
*/
class Msg91 extends Facade
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ protected function getEnvironmentSetUp($app)
}

/**
* Test that we can create the Nexmo client
* Test that we can create the Msg91 client
* from container binding.
*
* @return void
Expand Down

0 comments on commit 4e656e3

Please sign in to comment.