1
0
Fork 0

brace to next line, and remove void return type

pull/319/head
Sara Itani 2017-03-01 01:30:17 -08:00 committed by GitHub
parent ccaf1c1547
commit 616d74cc3f
1 changed files with 2 additions and 1 deletions

View File

@ -103,7 +103,8 @@ class Workspace
* @param FileEvent[] $changes * @param FileEvent[] $changes
* @return void * @return void
*/ */
public function didChangeWatchedFiles(array $changes) : void { public function didChangeWatchedFiles(array $changes)
{
foreach ($changes as $change) { foreach ($changes as $change) {
if ($change->type === FileChangeType::DELETED) { if ($change->type === FileChangeType::DELETED) {
$this->client->textDocument->publishDiagnostics($change->uri, []); $this->client->textDocument->publishDiagnostics($change->uri, []);