Code Duplication    Length = 9-9 lines in 2 locations

src/Bankiru/Api/JsonRpc/Specification/RichJsonRpcRequest.php 1 location

@@ 52-60 (lines=9) @@
49
    }
50
51
    /** {@inheritdoc} */
52
    public function jsonSerialize()
53
    {
54
        return [
55
            self::VERSION_FIELD    => $this->getVersion(),
56
            self::METHOD_FIELD     => $this->getMethod(),
57
            self::PARAMETERS_FIELD => $this->getParameters(),
58
            self::ID_FIELD         => $this->getId(),
59
        ];
60
    }
61
62
    /** {@inheritdoc} */
63
    public function getVersion()

src/Bankiru/Api/JsonRpc/Specification/JsonRpcRequest.php 1 location

@@ 65-73 (lines=9) @@
62
    }
63
64
    /** {@inheritdoc} */
65
    public function jsonSerialize()
66
    {
67
        return [
68
            self::VERSION_FIELD    => $this->getVersion(),
69
            self::METHOD_FIELD     => $this->getMethod(),
70
            self::PARAMETERS_FIELD => $this->getParameters(),
71
            self::ID_FIELD         => $this->getId(),
72
        ];
73
    }
74
75
    /** {@inheritdoc} */
76
    public function getVersion()