Book a demoLog inStart for free
  • Overview
    • Introduction
    • How it works
    • Quickstart
    • Customer showcase
  • Working with SDKs
    • Project structure
    • Adding custom code
    • Capabilities
  • Generators
  • Reference
    • generators.yml
GeneratorsPHP

Changelog

March 23, 2026
March 23, 2026

2.2.2

(fix): Fix JSON deserialization error when API returns an empty response body for endpoints with a declared JSON response type. Previously, a JsonException: Syntax error was thrown because the SDK attempted to JSON-decode an empty string. Now the generated code checks for an empty response body before attempting deserialization and returns null gracefully.

Was this page helpful?
Edit this page
Previous

Changelog

Next

March 17, 2026

Checking status...
SOC2Soc 2 Type II
© 2026 Fern • Birch Solutions, Inc., a Postman company

Documentation

SDKsDocsAsk FernCLI Reference

API Definitions

OpenAPIAsyncAPIOpenRPCgRPCFern Definition

Resources

BlogSupportPricingSlack

Company

Brand KitPrivacy PolicyTerms of Service
LogoLogo
Book a demoLog inStart for free