Skip to content

Commit 3ab16cd

Browse files
authored
Merge pull request #4 from EinLinuus/patch-1
[Docs] Add `company`, `job`, and `url` to vCard example
2 parents 23c6a0d + 19b052b commit 3ab16cd

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

docs/v-card.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@ Route::get('qr-code/examples/v-card', function ()
1313
$lastName = 'Doe';
1414
$title = 'Mr.';
1515
$email = 'john.doe@example.com';
16-
$company = 'My company';
17-
$job = 'Developer';
18-
$url = 'https://example.com';
16+
17+
$company = "Acme Inc.";
18+
$job = "Developer";
19+
$url = "https://example.com";
20+
1921
// Addresses
2022
$homeAddress = [
2123
'type' => 'home',
@@ -57,7 +59,7 @@ Route::get('qr-code/examples/v-card', function ()
5759

5860
$phones = [$workPhone, $homePhone, $cellPhone];
5961

60-
return QRCode::vCard($firstName, $lastName, $title, $email, $company, $job, $url, $addresses, $phones)
62+
return QRCode::vCard($firstName, $lastName, $title, $email, $company, $job, $url, $addresses, $phones)
6163
->setErrorCorrectionLevel('H')
6264
->setSize(4)
6365
->setMargin(2)

0 commit comments

Comments
 (0)