Code Duplication    Length = 9-9 lines in 2 locations

src/Api/Traits/BoardsInvites.php 2 locations

@@ 97-105 (lines=9) @@
94
     * @param string $boardId
95
     * @return bool
96
     */
97
    public function ignoreInvite($boardId)
98
    {
99
        $data = [
100
            'board_id'        => $boardId,
101
            'invited_user_id' => $this->container->user->id(),
102
        ];
103
104
        return $this->post($data, UrlBuilder::RESOURCE_DELETE_INVITE);
105
    }
106
107
    /**
108
     * @param string $boardId
@@ 111-119 (lines=9) @@
108
     * @param string $boardId
109
     * @return bool
110
     */
111
    public function acceptInvite($boardId)
112
    {
113
        $data = [
114
            'board_id'         => $boardId,
115
            'invited_user_id' => $this->container->user->id(),
116
        ];
117
118
        return $this->post($data, UrlBuilder::RESOURCE_ACCEPT_INVITE);
119
    }
120
}