Code Duplication    Length = 7-7 lines in 2 locations

src/Bpost.php 1 location

@@ 114-120 (lines=7) @@
111
    /**
112
     * @return ApiCaller
113
     */
114
    public function getApiCaller()
115
    {
116
        if ($this->apiCaller === null) {
117
            $this->apiCaller = new ApiCaller(new Logger());
118
        }
119
        return $this->apiCaller;
120
    }
121
122
    /**
123
     * @param ApiCaller $apiCaller

src/Geo6.php 1 location

@@ 76-82 (lines=7) @@
73
    /**
74
     * @return ApiCaller
75
     */
76
    public function getApiCaller()
77
    {
78
        if ($this->apiCaller === null) {
79
            $this->apiCaller = new ApiCaller(new Logger());
80
        }
81
        return $this->apiCaller;
82
    }
83
84
    /**
85
     * @param ApiCaller $apiCaller