mirror of
https://github.com/elyby/accounts.git
synced 2025-05-31 14:11:46 +05:30
Fixes ACCOUNTS-37R
This commit is contained in:
@ -3,8 +3,8 @@ namespace api\modules\authserver\exceptions;
|
||||
|
||||
class IllegalArgumentException extends AuthserverException {
|
||||
|
||||
public function __construct($status = null, $message = null, $code = 0, \Exception $previous = null) {
|
||||
parent::__construct(400, 'credentials can not be null.', $code, $previous);
|
||||
public function __construct($message = 'credentials can not be null.') {
|
||||
parent::__construct(400, $message);
|
||||
}
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user