We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7883cee commit dbb7806Copy full SHA for dbb7806
src/ServerCapabilities.php
@@ -78,13 +78,14 @@ public function __construct(
78
}
79
80
if ($resourcesEnabled) {
81
- $this->resources = [];
+ $resources = [];
82
if ($resourcesSubscribe) {
83
- $this->resources['subscribe'] = $resourcesSubscribe;
+ $resources['subscribe'] = $resourcesSubscribe;
84
85
if ($resourcesListChanged) {
86
- $this->resources['listChanged'] = $resourcesListChanged;
+ $resources['listChanged'] = $resourcesListChanged;
87
88
+ $this->resources = $resources;
89
} else {
90
$this->resources = null;
91
0 commit comments