Skip to content

Commit 0817b4f

Browse files
committed
Update available rules section
1 parent 7741032 commit 0817b4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,8 @@ $validation_a->validate();
260260

261261
## Available Rules
262262

263+
> Click to show details.
264+
263265
<details><summary><strong>required</strong></summary>
264266

265267
The field under this validation must be present and not 'empty'.
@@ -345,7 +347,7 @@ The `$_FILES` item under validation must have a MIME type corresponding to one o
345347

346348
</details>
347349

348-
<details><summary><strong>default</strong>/defaults</summary>
350+
<details><summary><strong>default/defaults</strong></summary>
349351

350352
This is special rule that doesn't validate anything.
351353
It just set default value to your attribute if that attribute is empty or not present.

0 commit comments

Comments
 (0)