Skip to content

Commit 1e0d437

Browse files
committed
Update inlay hints demo to use email parameter in createUser call
1 parent a1beb6d commit 1e0d437

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

example.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2995,7 +2995,7 @@ class InlayHintsDemo
29952995
public function demo(): void
29962996
{
29972997
// Parameter name hints appear before each argument:
2998-
$user = createUser('Alice', 25); // name:, age:
2998+
$user = createUser('Alice', 'test@example.com'); // name:, email:
29992999

30003000
// By-reference parameters show & before the name:
30013001
$arr = [1, 2, 3];

0 commit comments

Comments
 (0)