mirror of
https://github.com/delight-im/PHP-Auth.git
synced 2025-08-02 06:10:14 +02:00
Manually require file 'Exceptions.php' in parent class as well
This commit is contained in:
@@ -15,7 +15,7 @@ use Delight\Db\PdoDsn;
|
||||
use Delight\Db\Throwable\Error;
|
||||
use Delight\Db\Throwable\IntegrityConstraintViolationException;
|
||||
|
||||
require __DIR__.'/Exceptions.php';
|
||||
require_once __DIR__ . '/Exceptions.php';
|
||||
|
||||
/** Component that provides all features and utilities for secure authentication of individual users */
|
||||
final class Auth extends UserManager {
|
||||
|
@@ -11,6 +11,8 @@ namespace Delight\Auth;
|
||||
use Delight\Db\PdoDatabase;
|
||||
use Delight\Db\PdoDsn;
|
||||
|
||||
require_once __DIR__ . '/Exceptions.php';
|
||||
|
||||
/** Abstract base class for components implementing user management */
|
||||
abstract class UserManager {
|
||||
|
||||
|
Reference in New Issue
Block a user