Skip to content

Commit 89a2c89

Browse files
validator contract throws docblock (#33912)
1 parent bec8a46 commit 89a2c89

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Illuminate/Contracts/Validation/Validator.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,17 @@ interface Validator extends MessageProvider
1010
* Run the validator's rules against its data.
1111
*
1212
* @return array
13+
*
14+
* @throws \Illuminate\Validation\ValidationException
1315
*/
1416
public function validate();
1517

1618
/**
1719
* Get the attributes and values that were validated.
1820
*
1921
* @return array
22+
*
23+
* @throws \Illuminate\Validation\ValidationException
2024
*/
2125
public function validated();
2226

0 commit comments

Comments
 (0)