Skip to content

Commit d84ce32

Browse files
committed
Merge branch '8.x' of https://github.com/stevebauman/framework into 8.x
2 parents 9c00dc2 + c33a57b commit d84ce32

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/Illuminate/Validation/Validator.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,7 +1384,7 @@ public function setPresenceVerifier(PresenceVerifierInterface $presenceVerifier)
13841384
*
13851385
* @param string $exception
13861386
* @return void
1387-
*
1387+
*
13881388
* @throws InvalidArgumentException
13891389
*/
13901390
public function setException($exception)
@@ -1394,7 +1394,6 @@ public function setException($exception)
13941394
sprintf('Exception [%s] is invalid. It must extend [%s].', $exception, ValidationException::class)
13951395
);
13961396
}
1397-
13981397
$this->exception = $exception;
13991398
}
14001399

tests/Validation/ValidationValidatorTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,6 @@ public function testCustomException()
634634
$v = new Validator($trans, ['name' => ''], ['name' => 'required']);
635635

636636
$exception = new class ($v) extends ValidationException {};
637-
638637
$v->setException($exception);
639638

640639
try {

0 commit comments

Comments
 (0)