Skip to content

Commit

Permalink
Fixes issue #14877
Browse files Browse the repository at this point in the history
  • Loading branch information
Aden Fraser committed Aug 18, 2016
1 parent 9d63777 commit 85420ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Validation/ValidatesWhenResolvedTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Illuminate\Validation;

use Illuminate\Contracts\Validation\ValidationException;
use Illuminate\Contracts\Validation\ValidationException as ValidationExceptionContract;
use Illuminate\Contracts\Validation\UnauthorizedException;

/**
Expand Down Expand Up @@ -46,7 +46,7 @@ protected function getValidatorInstance()
*/
protected function failedValidation(Validator $validator)
{
throw new ValidationException($validator);
throw new ValidationExceptionContract($validator);
}

/**
Expand Down

0 comments on commit 85420ef

Please sign in to comment.