Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c4151f0

Browse filesBrowse files
authored
Remove return keyword from example (#10038)
1 parent f81965f commit c4151f0
Copy full SHA for c4151f0

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎validation.md

Copy file name to clipboardExpand all lines: validation.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1354,7 +1354,7 @@ If you would like to customize the query executed by the validation rule, you ma
13541354
'email' => [
13551355
'required',
13561356
Rule::exists('staff')->where(function (Builder $query) {
1357-
return $query->where('account_id', 1);
1357+
$query->where('account_id', 1);
13581358
}),
13591359
],
13601360
]);

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.