Code Duplication    Length = 11-11 lines in 2 locations

src/Betfair/AccountApi/AccountDetails.php 1 location

@@ 8-18 (lines=11) @@
5
use Betfair\AbstractBetfair;
6
use Betfair\BetfairActionType;
7
8
class AccountDetails extends AbstractBetfair
9
{
10
    const API_METHOD_NAME = "getAccountDetails";
11
12
    public function getAccountDetails()
13
    {
14
        $param = $this->createParam();
15
16
        return $this->executeCustomQuery($param, self::API_METHOD_NAME, BetfairActionType::ACCOUNT);
17
    }
18
}
19

src/Betfair/AccountApi/AccountFunds.php 1 location

@@ 8-18 (lines=11) @@
5
use Betfair\AbstractBetfair;
6
use Betfair\BetfairActionType;
7
8
class AccountFunds extends AbstractBetfair
9
{
10
    const API_METHOD_NAME = "getAccountFunds";
11
12
    public function getAccountFunds()
13
    {
14
        $param = $this->createParam();
15
16
        return $this->executeCustomQuery($param, self::API_METHOD_NAME, BetfairActionType::ACCOUNT);
17
    }
18
}
19