Skip to content

Commit dcc0bfa

Browse files
fix: README.md polishing
1 parent 9a3fa15 commit dcc0bfa

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

README.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ try {
104104
**Note**: The webhook signature key is not required - if it's not given the signature validation will be skipped.
105105

106106

107-
### Build riddles
107+
### Build basic Riddles
108108

109-
You can also build riddles via the API.Please note that this feature is currently in-beta and is expected to be expanded in the future.
109+
You can also build Riddles via the API.Please note that this feature is currently in-beta and is expected to be expanded in the future.
110110

111111
Please drop us any feedback you have on this feature via support chat on [riddle.com](https://www.riddle.com) or send us an email @ [[email protected]](mailto:[email protected])!
112112

@@ -192,7 +192,6 @@ require 'riddle-client/src/Builder/PollBuilder.php';
192192
require 'riddle-client/src/Builder/QuizBuilder.php';
193193

194194
$client = new Riddle\Api\Client('access token');
195-
$quizBuilder = ;
196195

197196
// custom result page via the ResultPage class
198197
$resultPage = (new Riddle\Api\Builder\Objects\ResultPage())
@@ -214,7 +213,7 @@ $pollBuilder = new (new Riddle\Api\Builder\PollBuilder($client))
214213
->setResultPage($resultPage);
215214
```
216215

217-
### Building Riddles with forms
216+
### Build Riddles with forms
218217

219218
You can add "Make a form" blocks to your Riddle. This allows you to collect user data (name, email, phone, etc).
220219

@@ -234,7 +233,7 @@ $formBuilder = (new Riddle\Api\Builder\Objects\FormFieldBuilder())
234233
->addNumberField('My number field')
235234
->addCountryField('My country field')
236235
->addShortTextField('My short text field')
237-
->addLongTextField('My long text field')
236+
->addLongTextField('My long text field');
238237

239238
// Adding it to any builder (poll, quiz, etc)
240239
$quizBuilder = new (new Riddle\Api\Builder\QuizBuilder($client))
@@ -243,9 +242,9 @@ $quizBuilder = new (new Riddle\Api\Builder\QuizBuilder($client))
243242
```
244243

245244

246-
### Manipulating the build directly
245+
### Manipulate the build directly
247246

248-
We are aware that the current builder classes does not cover all possibilities of the builder API (there are just too many!).
247+
We are aware that the current builder classes in this SDK do not cover all possibilities of the builder API (there are just too many!).
249248

250249
Therefore, you can also manipulate the build directly:
251250

0 commit comments

Comments
 (0)