Code Duplication    Length = 11-11 lines in 2 locations

src/Client/Balance.php 1 location

@@ 39-49 (lines=11) @@
36
     *
37
     * @return Response\Balance
38
     */
39
    public function getBalanceForAccountId($accountId)
40
    {
41
        return $this->client->deserializeResponse(
42
            $this->client->get('/balance', [
43
                'query' => [
44
                    'account_id' => $accountId
45
                ]
46
            ]),
47
            Response\Balance::class
48
        );
49
    }
50
}
51

src/Client/Transactions.php 1 location

@@ 49-59 (lines=11) @@
46
     *
47
     * @return Response\Transactions
48
     */
49
    public function getTransactionsForAccountId($accountId)
50
    {
51
        return $this->client->deserializeResponse(
52
            $this->client->get('/transactions', [
53
                'query' => [
54
                    'account_id' => $accountId
55
                ]
56
            ]),
57
            Response\Transactions::class
58
        );
59
    }
60
61
    /**
62
     * Add annotation(s) for a transaction.