Skip to content

Commit

Permalink
fix: its not a trait its a abstract class
Browse files Browse the repository at this point in the history
  • Loading branch information
fredbradley committed Apr 12, 2024
1 parent 2801ade commit 64d12e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 2 additions & 2 deletions app/Domains/SelfReflection/Http/LoginController.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
namespace App\Domains\SelfReflection\Http;

use App\Http\Controllers\Auth\FireflyAuth;
use Illuminate\Contracts\Auth\Authenticatable;
use App\Http\Controllers\Controller;
use Illuminate\Http\Client\RequestException;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Http;
use Illuminate\Validation\ValidationException;

class LoginController
class LoginController extends Controller
{
use FireflyAuth;

Expand Down
2 changes: 0 additions & 2 deletions app/Http/Controllers/Auth/FireflyAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@
use Exception;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
use Illuminate\Http\Client\PendingRequest;
use Illuminate\Http\Client\RequestException;
use Illuminate\Http\Client\Response;
use Illuminate\Http\RedirectResponse;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Auth;

trait FireflyAuth
{
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace App\Http\Controllers;

abstract class Controller
abstract class Controller extends \Illuminate\Routing\Controller
{
//
}

0 comments on commit 64d12e7

Please sign in to comment.