Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit ffb37d8

Browse files
authored
Merge pull request brozot#60 from chimit/patch-1
Fix a typo
2 parents 2122ba0 + f6db2ee commit ffb37d8

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -124,8 +124,8 @@ use FCM;
124124
#### Sending a Downstream Message to a Device
125125

126126
```php
127-
$optionBuiler = new OptionsBuilder();
128-
$optionBuiler->setTimeToLive(60*20);
127+
$optionBuilder = new OptionsBuilder();
128+
$optionBuilder->setTimeToLive(60*20);
129129

130130
$notificationBuilder = new PayloadNotificationBuilder('my title');
131131
$notificationBuilder->setBody('Hello world')
@@ -134,7 +134,7 @@ $notificationBuilder->setBody('Hello world')
134134
$dataBuilder = new PayloadDataBuilder();
135135
$dataBuilder->addData(['a_data' => 'my_data']);
136136

137-
$option = $optionBuiler->build();
137+
$option = $optionBuilder->build();
138138
$notification = $notificationBuilder->build();
139139
$data = $dataBuilder->build();
140140

@@ -161,8 +161,8 @@ $downstreamResponse->tokensToRetry();
161161
#### Sending a Downstream Message to Multiple Devices
162162

163163
```php
164-
$optionBuiler = new OptionsBuilder();
165-
$optionBuiler->setTimeToLive(60*20);
164+
$optionBuilder = new OptionsBuilder();
165+
$optionBuilder->setTimeToLive(60*20);
166166

167167
$notificationBuilder = new PayloadNotificationBuilder('my title');
168168
$notificationBuilder->setBody('Hello world')
@@ -171,7 +171,7 @@ $notificationBuilder->setBody('Hello world')
171171
$dataBuilder = new PayloadDataBuilder();
172172
$dataBuilder->addData(['a_data' => 'my_data']);
173173

174-
$option = $optionBuiler->build();
174+
$option = $optionBuilder->build();
175175
$notification = $notificationBuilder->build();
176176
$data = $dataBuilder->build();
177177

0 commit comments

Comments
 (0)