Skip to content

Commit f22ecfb

Browse files
authored
Update requests.md (#8176)
1 parent cd8f9c8 commit f22ecfb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

requests.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,13 +388,13 @@ The `hasAny` method returns `true` if any of the specified values are present:
388388
//
389389
}
390390

391-
If you would like to determine if a value is present on the request and is not empty, you may use the `filled` method:
391+
If you would like to determine if a value is present on the request and is not an empty string, you may use the `filled` method:
392392

393393
if ($request->filled('name')) {
394394
//
395395
}
396396

397-
The `whenFilled` method will execute the given closure if a value is present on the request and is not empty:
397+
The `whenFilled` method will execute the given closure if a value is present on the request and is not an empty string:
398398

399399
$request->whenFilled('name', function ($input) {
400400
//

0 commit comments

Comments
 (0)