Skip to content

Commit 18f9f09

Browse files
fix: update condition for rootsListChanged in ClientCapabilities
1 parent 2ede1b2 commit 18f9f09

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ClientCapabilities.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function toArray(): array
2828
$data = [];
2929
if ($this->roots || $this->rootsListChanged) {
3030
$data['roots'] = new \stdClass();
31-
if ($this->rootsListChanged) {
31+
if ($this->rootsListChanged !== null) {
3232
$data['roots']->listChanged = $this->rootsListChanged;
3333
}
3434
}

0 commit comments

Comments
 (0)