From 616d74cc3f954baa64675fcc32ccff4aff1fc03a Mon Sep 17 00:00:00 2001 From: Sara Itani Date: Wed, 1 Mar 2017 01:30:17 -0800 Subject: [PATCH] brace to next line, and remove void return type --- src/Server/Workspace.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Server/Workspace.php b/src/Server/Workspace.php index 4d36c0c..d2f8cec 100644 --- a/src/Server/Workspace.php +++ b/src/Server/Workspace.php @@ -103,7 +103,8 @@ class Workspace * @param FileEvent[] $changes * @return void */ - public function didChangeWatchedFiles(array $changes) : void { + public function didChangeWatchedFiles(array $changes) + { foreach ($changes as $change) { if ($change->type === FileChangeType::DELETED) { $this->client->textDocument->publishDiagnostics($change->uri, []);