Jonas Renggli be17698320
[php-flight] fix: remove trailing spaces (#21254)
According to the Guidelines for Contributing
(https://github.com/OpenAPITools/openapi-generator/blob/master/CONTRIBUTING.md)
generated PHP code should conform to PSR-12
(https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-12-extended-coding-style-guide.md).

There are some minor violations regarding the following rule

> There MUST NOT be trailing whitespace at the end of lines.

This change removes trailing spaces in generated code.
2025-05-11 22:32:27 +08:00
..

Requirements

PHP 8.1 and later

Installation & Usage

  1. Set up flight as usual - see Flight documentation
  2. Generate using the OpenAPI generator
  3. Subclass some/all generated Abstract*Api and overwrite the methods you'd like handled. When implementing the *Stream methods, make sure to stream the response and not implement the non-stream method.
  4. Register routes for your subclassed apis: RegisterRoutes::registerRoutes(new MyApiHandler());