mirror of
https://codeberg.org/reflect/reflect-rules-plugin.git
synced 2025-09-14 00:43:42 +02:00
fix(doc): GitHub md highliting
This commit is contained in:
parent
cf1111b98d
commit
89560560c4
1 changed files with 3 additions and 3 deletions
|
@ -114,7 +114,7 @@ Value|Coerced to
|
||||||
|
|
||||||
Any other value will cause the `type()` rule to fail.
|
Any other value will cause the `type()` rule to fail.
|
||||||
|
|
||||||
> **Note**
|
> [!IMPORTANT]
|
||||||
> This coercion is only applies for `Ruleset->GET()`. `Ruleset->POST()` will enforce real `true` and `type` values since it's JSON
|
> This coercion is only applies for `Ruleset->GET()`. `Ruleset->POST()` will enforce real `true` and `type` values since it's JSON
|
||||||
|
|
||||||
#### Null coercion from string for search parameters
|
#### Null coercion from string for search parameters
|
||||||
|
@ -122,7 +122,7 @@ Search parameters are read as strings, a null value is therefor coerced from an
|
||||||
|
|
||||||
Any value that isn't an empty string will cause the `type()` rule to fail.
|
Any value that isn't an empty string will cause the `type()` rule to fail.
|
||||||
|
|
||||||
> **Note**
|
> [!IMPORTANT]
|
||||||
> This coercion is only applies for `Ruleset->GET()`. `Ruleset->POST()` will enforce the real `null` value since it's JSON
|
> This coercion is only applies for `Ruleset->GET()`. `Ruleset->POST()` will enforce the real `null` value since it's JSON
|
||||||
|
|
||||||
## `min()`
|
## `min()`
|
||||||
|
@ -151,4 +151,4 @@ Type|Expects
|
||||||
`Type::STRING`|String length to be smaller or equal to provided value
|
`Type::STRING`|String length to be smaller or equal to provided value
|
||||||
`Type::ARRAY`, `Type::OBJECT`|Array size or object key count to be smaller or equal to provided value
|
`Type::ARRAY`, `Type::OBJECT`|Array size or object key count to be smaller or equal to provided value
|
||||||
|
|
||||||
**`max()` will not have an effect on [`Type`](#types)s not provided in this list.**
|
**`max()` will not have an effect on [`Type`](#types)s not provided in this list.**
|
||||||
|
|
Loading…
Add table
Reference in a new issue