Code Duplication    Length = 8-8 lines in 3 locations

src/WorldOfWarcraft/AchievementApi/AchievementApi.php 1 location

@@ 96-103 (lines=8) @@
93
     *
94
     * @return \StdClass
95
     */
96
    private function prepareResponseObject($field)
97
    {
98
        $requestModel = $this->prepareRequestModel($field);
99
        $response = $this->requestService->doRequest($requestModel);
100
        $responseObject = json_decode($response);
101
102
        return $responseObject;
103
    }
104
}
105

src/WorldOfWarcraft/AuctionApi/AuctionApi.php 1 location

@@ 82-89 (lines=8) @@
79
     *
80
     * @return \StdClass
81
     */
82
    private function prepareResponseObject($field)
83
    {
84
        $requestModel = $this->prepareRequestModel($field);
85
        $response = $this->requestService->doRequest($requestModel);
86
        $responseObject = json_decode($response);
87
88
        return $responseObject;
89
    }
90
}
91

src/WorldOfWarcraft/CharacterProfileApi/CharacterProfileApi.php 1 location

@@ 444-451 (lines=8) @@
441
     *
442
     * @return \StdClass
443
     */
444
    private function prepareResponseObject($addition = '')
445
    {
446
        $requestModel = $this->prepareRequestModel($addition);
447
        $response = $this->requestService->doRequest($requestModel);
448
        $responseObject = json_decode($response);
449
450
        return $responseObject;
451
    }
452
}
453