Flagsmith / Flagsmith/flagsmith-php-client
Resolve `jsonSerialize` deprecation warnings
- Lingua principale
- PHP
- Stelle
- 18
- Fork
- 13
- Merge medio
- 28m
- PR unite (30g)
- 1
Descrizione
The following warning was presented for the `jsonSerialize()` methods on the `MultivariateFeatureStateValueModelList` and `CollectionTrait` and classes. We have temporarily resolved this in [this PR](https://github.com/Flagsmith/flagsmith-php-client/pull/34) by indicating that the return type will change in the next major version.
```
Deprecated: Return type of Flagsmith\Utils\Collections\FlagModelsList::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.