Skip to content

Add object/interface return types to method signatures#8174

Merged
dereuromark merged 1 commit into5.xfrom
docs-add-object-return-types
Jan 28, 2026
Merged

Add object/interface return types to method signatures#8174
dereuromark merged 1 commit into5.xfrom
docs-add-object-return-types

Conversation

@dereuromark
Copy link
Member

Summary

  • Adds object and interface return types to 24 method signatures across 9 documentation files
  • Uses short class names (e.g., Response, EntityInterface, SelectQuery) rather than FQCN
  • Also fixes malformed Connection::execute() signature formatting

Return types added include: Response, Response|null, PaginatedInterface, Component, EntityInterface, EntityInterface|false, SelectQuery, UpdateQuery, InsertQuery, DeleteQuery, ConnectionInterface, StatementInterface, UploadedFileInterface|null, StreamInterface, ResponseInterface, SimpleXMLElement|DOMDocument, ArrayAccess|array, iterable, iterable|false

Companion to #8173 which added scalar return types.

@dereuromark dereuromark force-pushed the docs-add-object-return-types branch from 0758b48 to 923f017 Compare January 28, 2026 12:18
@dereuromark dereuromark force-pushed the docs-add-object-return-types branch from 923f017 to 308faa7 Compare January 28, 2026 12:22
@dereuromark dereuromark merged commit b68bf85 into 5.x Jan 28, 2026
5 checks passed
@dereuromark dereuromark deleted the docs-add-object-return-types branch January 28, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants