brace to next line, and remove void return type
parent
ccaf1c1547
commit
616d74cc3f
|
@ -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, []);
|
||||||
|
|
Loading…
Reference in New Issue