Code Duplication    Length = 9-9 lines in 2 locations

src/Resource/Holder.php 1 location

@@ 239-247 (lines=9) @@
236
     *
237
     * @return $this
238
     */
239
    public function setPhone($areaCode, $number, $countryCode = 55)
240
    {
241
        $this->data->phone = new stdClass();
242
        $this->data->phone->countryCode = $countryCode;
243
        $this->data->phone->areaCode = $areaCode;
244
        $this->data->phone->number = $number;
245
246
        return $this;
247
    }
248
}
249

src/Resource/Customer.php 1 location

@@ 412-420 (lines=9) @@
409
     *
410
     * @return $this
411
     */
412
    public function setPhone($areaCode, $number, $countryCode = 55)
413
    {
414
        $this->data->phone = new stdClass();
415
        $this->data->phone->countryCode = $countryCode;
416
        $this->data->phone->areaCode = $areaCode;
417
        $this->data->phone->number = $number;
418
419
        return $this;
420
    }
421
}
422