Skip to content

Commit 4e656e3

Browse files
committed
feat(client): update client version
1 parent 1e9f8c2 commit 4e656e3

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ To verify that everything is working as expected, excecute the following php cod
6060
in an example route or in `php artisan tinker` if you are in Laravel.
6161

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

6767
If there is an issue, please check the steps again or open an issue for support.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"require": {
2727
"php": ">=7.1",
28-
"craftsys/msg91-php": "^0.5",
28+
"craftsys/msg91-php": "^0.6",
2929
"illuminate/support": "^5.2|^6.0"
3030
},
3131
"require-dev": {

src/Facade/Msg91.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
/**
99
* Facade for Craftsys\Msg91\Client
1010
*
11-
* @method static \Craftsys\Msg91\OTPMessage otp(int|null $otp = null)
11+
* @method static \Craftsys\Msg91\Services\OTPService otp(mixed $otp = null)
12+
* @method static \Craftsys\Msg91\Services\SMSService sms(mixed $otp = null)
1213
*/
1314
class Msg91 extends Facade
1415
{

tests/ServiceProviderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ protected function getEnvironmentSetUp($app)
1919
}
2020

2121
/**
22-
* Test that we can create the Nexmo client
22+
* Test that we can create the Msg91 client
2323
* from container binding.
2424
*
2525
* @return void

0 commit comments

Comments
 (0)