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

@@ 445-453 (lines=9) @@
442
     *
443
     * @return $this
444
     */
445
    public function setPhone($areaCode, $number, $countryCode = 55)
446
    {
447
        $this->data->phone = new stdClass();
448
        $this->data->phone->countryCode = $countryCode;
449
        $this->data->phone->areaCode = $areaCode;
450
        $this->data->phone->number = $number;
451
452
        return $this;
453
    }
454
}
455