We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4176f6a commit ec74cbeCopy full SHA for ec74cbe
2 files changed
src/CurrentProcess.php
@@ -8,7 +8,6 @@
8
use Innmind\Server\Status\Server\Memory\Bytes;
9
use Innmind\TimeContinuum\Period;
10
use Innmind\TimeWarp\Halt;
11
-use Innmind\Signals\Handler;
12
use Innmind\Immutable\{
13
Attempt,
14
SideEffect,
@@ -48,7 +47,7 @@ public function id(): Attempt
48
47
49
public function signals(): Signals
50
{
51
- return $this->signals ??= Signals::of(new Handler);
+ return $this->signals ??= Signals::of();
52
}
53
54
/**
src/CurrentProcess/Signals.php
@@ -21,9 +21,9 @@ private function __construct(Handler $handler)
21
22
* @internal
23
*/
24
- public static function of(Handler $handler): self
+ public static function of(): self
25
26
- return new self($handler);
+ return new self(new Handler);
27
28
29
0 commit comments