Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
dcyar committed Sep 5, 2019
2 parents c8a8b89 + 24323d0 commit 784541a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 46 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/Auth/RegisterController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Http\Controllers\Auth;

use App\User;
use App\Entities\User;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Hash;
use Illuminate\Support\Facades\Validator;
Expand Down Expand Up @@ -59,7 +59,7 @@ protected function validator(array $data)
* Create a new user instance after a valid registration.
*
* @param array $data
* @return \App\User
* @return \App\Entities\User
*/
protected function create(array $data)
{
Expand Down
39 changes: 0 additions & 39 deletions app/User.php

This file was deleted.

2 changes: 1 addition & 1 deletion config/auth.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
'providers' => [
'users' => [
'driver' => 'eloquent',
'model' => App\User::class,
'model' => App\Entities\User::class,
],

// 'users' => [
Expand Down
2 changes: 1 addition & 1 deletion config/services.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
],

'stripe' => [
'model' => App\User::class,
'model' => App\Entities\User::class,
'key' => env('STRIPE_KEY'),
'secret' => env('STRIPE_SECRET'),
'webhook' => [
Expand Down
2 changes: 1 addition & 1 deletion database/factories/UserFactory.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */
use App\User;
use App\Entities\User;
use Illuminate\Support\Str;
use Faker\Generator as Faker;

Expand Down
2 changes: 1 addition & 1 deletion database/seeds/PhrasesTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use Illuminate\Database\Seeder;

use App\Models\Phrase;
use App\Entities\Phrase;

class PhrasesTableSeeder extends Seeder
{
Expand Down
2 changes: 1 addition & 1 deletion database/seeds/UsersTableSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

use Illuminate\Database\Seeder;

use App\User;
use App\Entities\User;

class UsersTableSeeder extends Seeder
{
Expand Down

0 comments on commit 784541a

Please sign in to comment.