Skip to content

Commit

Permalink
Fix code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
driesvints authored and github-actions[bot] committed Mar 14, 2024
1 parent b5c62ba commit f2afa07
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Servers/Reverb/Console/Commands/StartServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -171,10 +171,9 @@ public function handleSignal(int $signal = 0, int|false $previousExitCode = 0):
/**
* Handle the signals sent to the server on Windows.
*/

public function handleSignalWindows(): void
{
if(function_exists('sapi_windows_set_ctrl_handler')) {
if (function_exists('sapi_windows_set_ctrl_handler')) {
sapi_windows_set_ctrl_handler(fn () => exit($this->handleSignal()));
}
}
Expand Down

0 comments on commit f2afa07

Please sign in to comment.