@@ -5,7 +5,7 @@ |
||
5 | 5 | * |
6 | 6 | * @author Taylor Otwell <[email protected]> |
7 | 7 | */ |
8 | -define('LARAVEL_START', microtime(true)); |
|
8 | +define('LARAVEL_START', microtime(TRUE)); |
|
9 | 9 | |
10 | 10 | /* |
11 | 11 | |-------------------------------------------------------------------------- |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | * |
12 | 12 | * @return void |
13 | 13 | */ |
14 | - public function up() |
|
14 | + public function up () |
|
15 | 15 | { |
16 | 16 | Schema::create('password_resets', function (Blueprint $table) { |
17 | 17 | $table->string('email')->index(); |
@@ -25,7 +25,7 @@ discard block |
||
25 | 25 | * |
26 | 26 | * @return void |
27 | 27 | */ |
28 | - public function down() |
|
28 | + public function down () |
|
29 | 29 | { |
30 | 30 | Schema::dropIfExists('password_resets'); |
31 | 31 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | 5 | use Illuminate\Support\Facades\Schema; |
6 | 6 | |
7 | -class CreatePasswordResetsTable extends Migration |
|
8 | -{ |
|
7 | +class CreatePasswordResetsTable extends Migration { |
|
9 | 8 | /** |
10 | 9 | * Run the migrations. |
11 | 10 | * |
@@ -11,7 +11,7 @@ discard block |
||
11 | 11 | * |
12 | 12 | * @return void |
13 | 13 | */ |
14 | - public function up() |
|
14 | + public function up () |
|
15 | 15 | { |
16 | 16 | Schema::create('users', function (Blueprint $table) { |
17 | 17 | $table->increments('id'); |
@@ -28,7 +28,7 @@ discard block |
||
28 | 28 | * |
29 | 29 | * @return void |
30 | 30 | */ |
31 | - public function down() |
|
31 | + public function down () |
|
32 | 32 | { |
33 | 33 | Schema::dropIfExists('users'); |
34 | 34 | } |
@@ -4,8 +4,7 @@ |
||
4 | 4 | use Illuminate\Database\Schema\Blueprint; |
5 | 5 | use Illuminate\Support\Facades\Schema; |
6 | 6 | |
7 | -class CreateUsersTable extends Migration |
|
8 | -{ |
|
7 | +class CreateUsersTable extends Migration { |
|
9 | 8 | /** |
10 | 9 | * Run the migrations. |
11 | 10 | * |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * |
10 | 10 | * @return void |
11 | 11 | */ |
12 | - public function run() |
|
12 | + public function run () |
|
13 | 13 | { |
14 | 14 | // $this->call(UsersTableSeeder::class); |
15 | 15 | } |
@@ -2,8 +2,7 @@ |
||
2 | 2 | |
3 | 3 | use Illuminate\Database\Seeder; |
4 | 4 | |
5 | -class DatabaseSeeder extends Seeder |
|
6 | -{ |
|
5 | +class DatabaseSeeder extends Seeder { |
|
7 | 6 | /** |
8 | 7 | * Run the database seeds. |
9 | 8 | * |
@@ -41,7 +41,7 @@ |
||
41 | 41 | 'database' => [ |
42 | 42 | 'driver' => 'database', |
43 | 43 | 'table' => 'cache', |
44 | - 'connection' => null, |
|
44 | + 'connection' => NULL, |
|
45 | 45 | ], |
46 | 46 | |
47 | 47 | 'file' => [ |
@@ -39,7 +39,7 @@ |
||
39 | 39 | | |
40 | 40 | */ |
41 | 41 | |
42 | - 'debug' => env('APP_DEBUG', false), |
|
42 | + 'debug' => env('APP_DEBUG', FALSE), |
|
43 | 43 | |
44 | 44 | /* |
45 | 45 | |-------------------------------------------------------------------------- |
@@ -50,8 +50,8 @@ discard block |
||
50 | 50 | 'charset' => 'utf8mb4', |
51 | 51 | 'collation' => 'utf8mb4_unicode_ci', |
52 | 52 | 'prefix' => '', |
53 | - 'strict' => true, |
|
54 | - 'engine' => null, |
|
53 | + 'strict' => TRUE, |
|
54 | + 'engine' => NULL, |
|
55 | 55 | ], |
56 | 56 | |
57 | 57 | 'pgsql' => [ |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | |
111 | 111 | 'default' => [ |
112 | 112 | 'host' => env('REDIS_HOST', '127.0.0.1'), |
113 | - 'password' => env('REDIS_PASSWORD', null), |
|
113 | + 'password' => env('REDIS_PASSWORD', NULL), |
|
114 | 114 | 'port' => env('REDIS_PORT', 6379), |
115 | 115 | 'database' => 0, |
116 | 116 | ], |
@@ -32,7 +32,7 @@ |
||
32 | 32 | * |
33 | 33 | * @return void |
34 | 34 | */ |
35 | - public function __construct() |
|
35 | + public function __construct () |
|
36 | 36 | { |
37 | 37 | $this->middleware('guest'); |
38 | 38 | } |
@@ -5,8 +5,7 @@ |
||
5 | 5 | use Illuminate\Foundation\Auth\SendsPasswordResetEmails; |
6 | 6 | use LaravelSeed\Http\Controllers\Controller; |
7 | 7 | |
8 | -class ForgotPasswordController extends Controller |
|
9 | -{ |
|
8 | +class ForgotPasswordController extends Controller { |
|
10 | 9 | /* |
11 | 10 | |-------------------------------------------------------------------------- |
12 | 11 | | Password Reset Controller |
@@ -4,7 +4,7 @@ |
||
4 | 4 | * @return an instance of the EntityManager |
5 | 5 | */ |
6 | 6 | if (!function_exists('em')) { |
7 | - function em() |
|
7 | + function em () |
|
8 | 8 | { |
9 | 9 | return app('Doctrine\ORM\EntityManagerInterface'); |
10 | 10 | } |