Skip to content

Commit 0abc36b

Browse files
committed
lint
1 parent 61dda89 commit 0abc36b

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

core/filters.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -342,21 +342,21 @@ Here is the list of validation constraints that are automatically inferred from
342342
### From JSON Schema (`schema` property)
343343

344344
* **`minimum`** / **`maximum`**:
345-
* If both are set, a `Symfony\Component\Validator\Constraints\Range` constraint is added.
346-
* If only `minimum` is set, a `Symfony\Component\Validator\Constraints\GreaterThanOrEqual` constraint is added.
347-
* If only `maximum` is set, a `Symfony\Component\Validator\Constraints\LessThanOrEqual` constraint is added.
345+
* If both are set, a `Symfony\Component\Validator\Constraints\Range` constraint is added.
346+
* If only `minimum` is set, a `Symfony\Component\Validator\Constraints\GreaterThanOrEqual` constraint is added.
347+
* If only `maximum` is set, a `Symfony\Component\Validator\Constraints\LessThanOrEqual` constraint is added.
348348
* **`exclusiveMinimum`** / **`exclusiveMaximum`**:
349-
* If `exclusiveMinimum` is used, it becomes a `Symfony\Component\Validator\Constraints\GreaterThan` constraint.
350-
* If `exclusiveMaximum` is used, it becomes a `Symfony\Component\Validator\Constraints\LessThan` constraint.
349+
* If `exclusiveMinimum` is used, it becomes a `Symfony\Component\Validator\Constraints\GreaterThan` constraint.
350+
* If `exclusiveMaximum` is used, it becomes a `Symfony\Component\Validator\Constraints\LessThan` constraint.
351351
* **`pattern`**: Becomes a `Symfony\Component\Validator\Constraints\Regex` constraint.
352352
* **`minLength`** / **`maxLength`**: Becomes a `Symfony\Component\Validator\Constraints\Length` constraint.
353353
* **`multipleOf`**: Becomes a `Symfony\Component\Validator\Constraints\DivisibleBy` constraint.
354354
* **`enum`**: Becomes a `Symfony\Component\Validator\Constraints\Choice` constraint with the specified values.
355355
* **`minItems`** / **`maxItems`**: Becomes a `Symfony\Component\Validator\Constraints\Count` constraint (for arrays).
356356
* **`uniqueItems`**: If `true`, becomes a `Symfony\Component\Validator\Constraints\Unique` constraint (for arrays).
357357
* **`type`**:
358-
* If set to `'array'`, a `Symfony\Component\Validator\Constraints\Type('array')` constraint is added.
359-
* If `castToNativeType` is also `true`, the schema `type` will add a `Symfony\Component\Validator\Constraints\Type` constraint for `'boolean'`, `'integer'`, and `'number'` (as `float`).
358+
* If set to `'array'`, a `Symfony\Component\Validator\Constraints\Type('array')` constraint is added.
359+
* If `castToNativeType` is also `true`, the schema `type` will add a `Symfony\Component\Validator\Constraints\Type` constraint for `'boolean'`, `'integer'`, and `'number'` (as `float`).
360360

361361
### From the Parameter's `required` Property
362362

@@ -432,15 +432,15 @@ class WithParameter
432432
}
433433
```
434434

435-
#### Configuration Options
435+
##### Configuration Options
436436

437437
The `IriConverterParameterProvider` supports the following options in `extraProperties`:
438438

439439
- **`fetch_data`**: Boolean (default: `false`) - When `true`, forces the IRI converter to fetch the actual entity data instead of just creating a reference.
440440

441441
### `ReadLinkParameterProvider`
442442

443-
This provider fetches a linked resource from a given identifier. This is useful when you need to load a related entity to use later, for example in your own state provider.
443+
This provider fetches a linked resource from a given identifier. This is useful when you need to load a related entity to use later, for example in your own state provider.
444444
When you have an API resource with a custom `uriTemplate` that includes parameters, the `ReadLinkParameterProvider` can automatically resolve the linked resource using the operation's URI template. This is particularly useful for nested resources or when you need to load a parent resource based on URI variables.
445445

446446
```php

0 commit comments

Comments
 (0)