Add php-cs-fixer to build

This commit is contained in:
Nabeel Shahzad
2019-05-12 13:26:44 -05:00
parent 75eaec2f11
commit 88957f4071
25 changed files with 480 additions and 65 deletions

View File

@@ -28,7 +28,8 @@ class InternalError extends ValidationException
$validator = Validator::make([], []);
$validator->errors()->add(
$field ?? static::FIELD,
$message ?? static::MESSAGE);
$message ?? static::MESSAGE
);
parent::__construct($validator);
}