Skip to content

Commit

Permalink
Added @throws ValidationException
Browse files Browse the repository at this point in the history
  • Loading branch information
dunhamjared committed Feb 28, 2018
1 parent b8ed539 commit e2cd576
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/Routing/ProvidesConvenienceMethods.php
Original file line number Diff line number Diff line change
@@ -56,6 +56,8 @@ public static function formatErrorsUsing(BaseClosure $callback)
* @param array $messages
* @param array $customAttributes
* @return array
*
* @throws ValidationException
*/
public function validate(Request $request, array $rules, array $messages = [], array $customAttributes = [])
{
@@ -88,6 +90,8 @@ protected function extractInputFromRules(Request $request, array $rules)
* @param \Illuminate\Http\Request $request
* @param \Illuminate\Contracts\Validation\Validator $validator
* @return void
*
* @throws ValidationException
*/
protected function throwValidationException(Request $request, $validator)
{

0 comments on commit e2cd576

Please # to comment.