Skip to content

Commit bfc5685

Browse files
committed
Minor formatting fixes
1 parent 8d45042 commit bfc5685

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

README.md

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ Inside this section:
148148

149149
## Predefined constants
150150

151-
_**Description**_: Available Tarantool constants
151+
_**Description**_: Available Tarantool constants.
152152

153153
* `Tarantool::ITERATOR_EQ` - "equality" iterator (ALL);
154154
* `Tarantool::ITERATOR_REQ` - "reverse equality" iterator;
@@ -202,7 +202,7 @@ $port = 3301 [, string $user = "guest" [, string $password = NULL [,
202202
string $persistent_id = NULL ] ] ] ] ] )
203203
```
204204

205-
_**Description**_: Creates a Tarantool client
205+
_**Description**_: Creates a Tarantool client.
206206

207207
_**Parameters**_:
208208

@@ -308,10 +308,10 @@ $tnt->select("test", array(1));
308308
$tnt->select("test", array(1, "hello"), "isec");
309309
// Selects 100 tuples from space 'test' after skipping 100 tuples
310310
$tnt->select("test", null, null, 100, 100);
311-
// Selects 100 tuples from space 'test' after skipping 100 tuples, in
312-
reverse equality order
313-
// Reverse searching goes backward from index end, so this means: select
314-
penultimate hundred tuples
311+
// Selects 100 tuples from space 'test' after skipping 100 tuples,
312+
// in reverse equality order.
313+
// Reverse searching goes backward from index end, so this means:
314+
// select penultimate hundred tuples.
315315
$tnt->select("test", null, null, 100, 100, Tarantool::ITERATOR_REQ);
316316
```
317317

@@ -338,14 +338,12 @@ _**Return value**_:
338338
#### Example
339339

340340
``` php
341-
// This will succeed, because no tuples with primary key == 1 are in
342-
space 'test'
341+
// This will succeed, because no tuples with primary key == 1 are in space 'test'.
343342
$tnt->insert("test", array(1, 2, "something"));
344-
// This will fail, because we have just inserted a tuple with primary
345-
key == 1
346-
// error will be ER_TUPLE_FOUND
343+
// This will fail, because we have just inserted a tuple with primary key == 1.
344+
// The error will be ER_TUPLE_FOUND.
347345
$tnt->insert("test", array(1, 3, "something completely different"));
348-
// This will succeed, because Replace has no problem with duplicate keys
346+
// This will succeed, because Replace has no problem with duplicate keys.
349347
$tnt->replace("test", array(1, 3, "something completely different"));
350348
```
351349

@@ -355,7 +353,7 @@ $tnt->replace("test", array(1, 3, "something completely different"));
355353
public array Tarantool::call(string $procedure [, mixed args])
356354
```
357355

358-
_**Description**_: Call a stored procedure
356+
_**Description**_: Call a stored procedure.
359357

360358
_**Parameters**_:
361359

0 commit comments

Comments
 (0)