From 9def4e6c031f162bc8a716a9ef72eb7379e178da Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 2 Oct 2018 12:05:01 +0200 Subject: [PATCH] minfix --- doc/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/README.md b/doc/README.md index 81514bb..ad42540 100644 --- a/doc/README.md +++ b/doc/README.md @@ -476,13 +476,13 @@ To add a new type, just open the file `/build/api/Checker.php` and add an entry |Type|Example|Description| |---|---|---| |`any`|`[9,"a"]`, `"a"`|Any data (can be simple or complex)| -|`id`|`10`, `"23"`|Positive integer number| -|`int`|`-10`, `"23"`|Any integer number| -|`float`|`-10.2`, `"23.5"`|Any float| -|`text`|`"Hello!"`|String that can be of any length (even empty)| +|`id`|`10`, `23`|Positive integer number| +|`int`|`-10`, `23`|Any integer number| +|`float`|`-10.2`, `23.5`|Any float| +|`string`|`"Hello!"`|String that can be of any length (even empty)| |`digest(L)`|`"4612473aa81f93a878..."`|String with a length of `L`, containing only hexadecimal lowercase characters.| |`mail`|`"a.b@c.def"`|Valid email address| -|`array`|`[]`, `[1, 3]`|Any array| +|`array`|`[]`, `[1, "a"]`|Any array| |`bool`|`true`, `false`|Boolean| |`varchar(a,b)`|`"Hello!"`|String with a length between `a` and `b` (included)|