Skip to content

Commit 52e155e

Browse files
committed
Update
1 parent 866e5e2 commit 52e155e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

bin/serve.php

+2
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,9 @@
7777
private $log;
7878
public function __construct()
7979
{
80+
/** @phpstan-ignore assign.propertyType */
8081
$this->err = fopen('php://stderr', 'w');
82+
/** @phpstan-ignore assign.propertyType */
8183
$this->log = fopen('phpactor-lsp.log', 'w');
8284
}
8385

lib/Core/Server/LanguageServer.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public function start(): Promise
9494
public function run(): void
9595
{
9696
// Signals are not supported on Windows
97-
if(defined('SIGINT')) {
97+
if (defined('SIGINT')) {
9898
Loop::onSignal(SIGINT, function (string $watcherId) {
9999
Loop::cancel($watcherId);
100100
yield $this->shutdown();

0 commit comments

Comments
 (0)