Skip to content

docs: fix return type documentation for initializeSignal method#54553

Merged
taylorotwell merged 1 commit into
laravel:11.xfrom
nzsys:fix-signal-handler-docblock
Feb 11, 2025
Merged

docs: fix return type documentation for initializeSignal method#54553
taylorotwell merged 1 commit into
laravel:11.xfrom
nzsys:fix-signal-handler-docblock

Conversation

@nzsys

@nzsys nzsys commented Feb 11, 2025

Copy link
Copy Markdown
Contributor

This PR fixes the return type documentation for initializeSignal method.
The current docblock indicates it only returns an array, but the implementation can also return null.

  • Before: @return array<int, callable(int $signal): void>
  • After: @return array<int, callable(int $signal): void>|null

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