Skip to content

Commit 36fbdb1

Browse files
committed
formatting
1 parent dac7bf9 commit 36fbdb1

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

src/Servers/Reverb/Console/Commands/StartServer.php

+14-14
Original file line numberDiff line numberDiff line change
@@ -89,20 +89,6 @@ protected function ensureStaleConnectionsAreCleaned(LoopInterface $loop): void
8989
});
9090
}
9191

92-
/**
93-
* Schedule Pulse to ingest events if enabled.
94-
*/
95-
protected function ensurePulseEventsAreCollected(LoopInterface $loop, int $interval): void
96-
{
97-
if (! $this->laravel->bound(\Laravel\Pulse\Pulse::class)) {
98-
return;
99-
}
100-
101-
$loop->addPeriodicTimer($interval, function () {
102-
$this->laravel->make(\Laravel\Pulse\Pulse::class)->ingest();
103-
});
104-
}
105-
10692
/**
10793
* Check to see whether the restart signal has been sent.
10894
*/
@@ -139,6 +125,20 @@ protected function gracefullyDisconnect(): void
139125
});
140126
}
141127

128+
/**
129+
* Schedule Pulse to ingest events if enabled.
130+
*/
131+
protected function ensurePulseEventsAreCollected(LoopInterface $loop, int $interval): void
132+
{
133+
if (! $this->laravel->bound(\Laravel\Pulse\Pulse::class)) {
134+
return;
135+
}
136+
137+
$loop->addPeriodicTimer($interval, function () {
138+
$this->laravel->make(\Laravel\Pulse\Pulse::class)->ingest();
139+
});
140+
}
141+
142142
/**
143143
* Get the list of signals handled by the command.
144144
*/

0 commit comments

Comments
 (0)