Fixes ACCOUNTS-37R

This commit is contained in:
ErickSkrauch
2018-01-02 20:22:56 +03:00
parent 120057b66c
commit e3a99f04fe
5 changed files with 69 additions and 2 deletions

View File

@ -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);
}
}