Skip to content

Commit

Permalink
fix docs
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Sep 6, 2018
1 parent 81b3653 commit d155ce9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions verification.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,17 @@ Many web applications requires users to verify their email addresses before usin

### Model Preparation

To get started, verify that your `App\User` model implements the `Illuminate\Contracts\Auth\MustVerifyEmail` contract. In addition, you should use the `Illuminate\Auth\MustVerifyEmail` trait:
To get started, verify that your `App\User` model implements the `Illuminate\Contracts\Auth\MustVerifyEmail` contract:

<?php

namespace App;

use Illuminate\Auth\MustVerifyEmail;
use Illuminate\Notifications\Notifiable;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
use Illuminate\Contracts\Auth\MustVerifyEmail as MustVerifyEmailContract;

class User extends Authenticatable implements MustVerifyEmailContract
class User extends Authenticatable implements MustVerifyEmail
{
use MustVerifyEmail, Notifiable;

Expand Down

0 comments on commit d155ce9

Please sign in to comment.