File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ Listeners receive a
190
190
191
191
If you use the Console component inside a Symfony application, commands can
192
192
handle signals themselves. To do so, implement the
193
- `` SignalableCommandInterface ` ` and subscribe to one or more signals::
193
+ :class: ` Symfony \\ Component \\ Console \\ Command \\ SignalableCommandInterface ` and subscribe to one or more signals::
194
194
195
195
// src/Command/SomeCommand.php
196
196
namespace App\Command;
@@ -208,7 +208,7 @@ handle signals themselves. To do so, implement the
208
208
return [\SIGINT, \SIGTERM];
209
209
}
210
210
211
- public function handleSignal(int $signal)
211
+ public function handleSignal(int $signal): void
212
212
{
213
213
if (\SIGINT === $signal) {
214
214
// ...
You can’t perform that action at this time.
0 commit comments