Code Duplication    Length = 8-8 lines in 2 locations

src/components/SettingsStorage.php 2 locations

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