Code Duplication    Length = 9-9 lines in 2 locations

src/Resource/Customer.php 1 location

@@ 401-409 (lines=9) @@
398
     *
399
     * @return $this
400
     */
401
    public function setPhone($areaCode, $number, $countryCode = 55)
402
    {
403
        $this->data->phone = new stdClass();
404
        $this->data->phone->countryCode = $countryCode;
405
        $this->data->phone->areaCode = $areaCode;
406
        $this->data->phone->number = $number;
407
408
        return $this;
409
    }
410
}
411

src/Resource/Holder.php 1 location

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