We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 383070a commit a490a2dCopy full SHA for a490a2d
1 file changed
system/CLI/SignalTrait.php
@@ -352,7 +352,20 @@ protected function getSignals(): array
352
/**
353
* Get comprehensive process state information.
354
*
355
- * @return array<string, mixed>
+ * @return array{
356
+ * pid: int,
357
+ * running: bool,
358
+ * pcntl_available: bool,
359
+ * registered_signals: int,
360
+ * registered_signals_names: array<int, string>,
361
+ * signals_blocked: bool,
362
+ * explicit_mappings: int,
363
+ * memory_usage_mb: float,
364
+ * memory_peak_mb: float,
365
+ * session_id?: false|int,
366
+ * process_group?: false|int,
367
+ * has_controlling_terminal?: bool
368
+ * }
369
*/
370
protected function getProcessState(): array
371
{
0 commit comments