Skip to content

Update doc typehint and FQCN#441

Merged
ADmad merged 3 commits intothephpleague:masterfrom
guillaume-sainthillier:claude/add-php-type-hints-docs-7SBWk
Feb 12, 2026
Merged

Update doc typehint and FQCN#441
ADmad merged 3 commits intothephpleague:masterfrom
guillaume-sainthillier:claude/add-php-type-hints-docs-7SBWk

Conversation

@guillaume-sainthillier
Copy link
Contributor

No description provided.

- advanced-usage.md: Add all missing parameter types and return types
  to match Server class (string, bool, void, FilesystemOperator, etc.),
  fix wrong method names (setManipulators/getManipulators → setDefaults/
  getDefaults), add setPresets/getPresets, fix nullable ResponseFactory,
  fix typo "reponse" → "response"
- setup.md: Fix ImageManager instantiation to use static factory method
  (ImageManager::gd()) instead of removed constructor pattern, add
  missing Flip manipulator to the manual setup example
- responses.md: Add missing `string` type hint on $path parameter in
  ResponseFactoryInterface::create()
- watermarks.md: Fix outdated Flysystem adapter class name
  (Local → LocalFilesystemAdapter)

https://claude.ai/code/session_01GZAAeRMUyZXA4eXUtczCvj
- advanced-usage.md: FilesystemOperator → League\Flysystem\FilesystemOperator,
  ApiInterface → League\Glide\Api\ApiInterface,
  ResponseFactoryInterface → League\Glide\Responses\ResponseFactoryInterface
- setup.md: SymfonyResponseFactory → League\Glide\Responses\SymfonyResponseFactory
- watermarks.md: ServerFactory → League\Glide\ServerFactory,
  Filesystem → League\Flysystem\Filesystem,
  LocalFilesystemAdapter → League\Flysystem\Local\LocalFilesystemAdapter

https://claude.ai/code/session_01GZAAeRMUyZXA4eXUtczCvj
Prefix all fully qualified class names with `\` when used inline
in PHP code blocks (not covered by `use` statements). This ensures
the code examples are valid PHP when used outside a namespace.

https://claude.ai/code/session_01GZAAeRMUyZXA4eXUtczCvj
@ADmad ADmad merged commit b316960 into thephpleague:master Feb 12, 2026
7 checks passed
@guillaume-sainthillier guillaume-sainthillier deleted the claude/add-php-type-hints-docs-7SBWk branch March 12, 2026 06:26
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.

3 participants