Skip to content

Commit

Permalink
fix: rename contract
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanSotelo committed Oct 22, 2020
1 parent 04e4a60 commit de8dbd0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ Add the MustVerifyPhone trait to your model definition. This trait provides vari

``` php
use IvanSotelo\TwilioVerify\Traits\MustVerifyPhone;
use IvanSotelo\TwilioVerify\Contracts\MustVerifyPhoneContract;
use IvanSotelo\TwilioVerify\Contracts\MustVerifyPhone;

class User extends Authenticatable implements MustVerifyPhoneContract
class User extends Authenticatable implements MustVerifyPhone
{
use MustVerifyPhone, Notifiable;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace IvanSotelo\TwilioVerify\Contracts;

interface MustVerifyPhoneContract
interface MustVerifyPhone
{
/**
* Determine if the user has verified their phone.
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Middleware/EnsurePhoneIsVerified.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Closure;

use IvanSotelo\TwilioVerify\Traits\MustVerifyPhone;
use IvanSotelo\TwilioVerify\Contracts\MustVerifyPhone;

class EnsurePhoneIsVerified
{
Expand Down

0 comments on commit de8dbd0

Please sign in to comment.