Code Duplication    Length = 8-8 lines in 2 locations

src/components/SettingsStorage.php 2 locations

@@ 24-31 (lines=8) @@
21
    /**
22
     * @inheritdoc
23
     */
24
    public function setGlobal($key, $value)
25
    {
26
        $this->perform('clientSetSettingsStorage', array_merge([
27
            'key' => $key,
28
            'data' => json_encode($value),
29
            'oauthClientBound' => false
30
        ]));
31
    }
32
33
    /**
34
     * @inheritdoc
@@ 36-43 (lines=8) @@
33
    /**
34
     * @inheritdoc
35
     */
36
    public function setBounded($key, $value)
37
    {
38
        $this->perform('clientSetSettingsStorage', array_merge([
39
            'key' => $key,
40
            'data' => json_encode($value),
41
            'oauthClientBound' => true
42
        ]));
43
    }
44
45
    /**
46
     * @inheritdoc