> This page is for SDKs, version Legacy.
> For other versions, use one of these documentation indexes:
> - Current (default): https://buildwithfern.com/learn/sdks/current/llms.txt
> - Legacy: https://buildwithfern.com/learn/sdks/legacy/llms.txt

> For clean Markdown content of this page, append .md to this URL. For the complete documentation index, see https://buildwithfern.com/learn/llms.txt.

## 0.14.2

**`(fix):`** This updates the PHP generator to better support undiscriminated unions that define one or more `optional` types.
With this, the generator unwraps each of the optional types, and includes a `|null` variant (e.g. `array<string, mixed>|Metadata|null`).