Skip to content

Commit

Permalink
patch
Browse files Browse the repository at this point in the history
  • Loading branch information
AnourValar committed May 15, 2023
1 parent ec1d588 commit edcb3d8
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Exceptions/ValidationException.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ class ValidationException extends \Illuminate\Validation\ValidationException
*/
public function __construct($validator, $response = null, $errorBag = 'default', $prefix = null)
{
if (is_string($validator)) {
$validator = trans($validator);
}

$prefix = $this->canonizePrefix($prefix);

if ($validator instanceof \Illuminate\Validation\Validator) {
Expand Down

0 comments on commit edcb3d8

Please sign in to comment.