Skip to content

Commit a038eb6

Browse files
committed
fix documentation
1 parent eb522a6 commit a038eb6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,10 @@ class OrderShippedNotification extends Notification implements CrispWhatsAppNoti
8787
$templateArray = LaravelCrispWhatsAppFacade::getMessageTemplateArray('hello_world');
8888

8989
return CrispWhatsAppMessageFactory::createFromTemplateArray(
90-
$templateArray,
91-
ComponentParameterFactory::text('Crispy Fries')
90+
$templateArray,
91+
[
92+
ComponentParameterFactory::text('Crispy Fries'),
93+
],
9294
);
9395
}
9496
}

tests/ExampleTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?php
22

33
declare(strict_types=1);
4+
45
it('can test', function (): void {
56
expect(true)->toBeTrue();
67
});

0 commit comments

Comments
 (0)