Skip to content

Commit 8885fc4

Browse files
nesl247nicolas-grekas
authored andcommitted
[Console] Add phpdoc for return type of subscribed signals
1 parent e4e9fa4 commit 8885fc4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Symfony/Component/Console/Command/SignalableCommandInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ interface SignalableCommandInterface
2020
{
2121
/**
2222
* Returns the list of signals to subscribe.
23+
*
24+
* @return list<\SIG*>
25+
*
26+
* @see https://php.net/pcntl.constants for signals
2327
*/
2428
public function getSubscribedSignals(): array;
2529

0 commit comments

Comments
 (0)