Completed
Pull Request — master (#134)
by
unknown
01:36
created
src/Resource/Account.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -136,7 +136,7 @@
 block discarded – undo
136 136
      */
137 137
     public function getFullname()
138 138
     {
139
-        return $this->getIfSet('name', $this->data->person) . ' ' . $this->getIfSet('lastName', $this->data->person);
139
+        return $this->getIfSet('name', $this->data->person).' '.$this->getIfSet('lastName', $this->data->person);
140 140
     }
141 141
 
142 142
     /**
Please login to merge, or discard this patch.
Doc Comments   +5 added lines, -4 removed lines patch added patch discarded remove patch
@@ -355,7 +355,7 @@  discard block
 block discarded – undo
355 355
     /**
356 356
      * Set birth date from account.
357 357
      *
358
-     * @param \DateTime|string $birthDate Date of birth of the credit card holder.
358
+     * @param string $birthDate Date of birth of the credit card holder.
359 359
      *
360 360
      * @return \Moip\Resource\Account
361 361
      */
@@ -411,7 +411,7 @@  discard block
 block discarded – undo
411 411
      *
412 412
      * @param string $number Número do documento.
413 413
      * @param string $issuer Emissor do documento.
414
-     * @param $issueDate
414
+     * @param string $issueDate
415 415
      * @param string $type Tipo do documento. Valores possíveis: RG.
416 416
      *
417 417
      * @return Account
@@ -533,7 +533,7 @@  discard block
 block discarded – undo
533 533
     /**
534 534
      * Set company opening date.
535 535
      *
536
-     * @param \DateTime|string $openingDate .
536
+     * @param string $openingDate .
537 537
      *
538 538
      * @return $this
539 539
      */
@@ -566,8 +566,9 @@  discard block
 block discarded – undo
566 566
     /**
567 567
      * Set company tax document.
568 568
      *
569
-     * @param string $documentNumber .
570 569
      *
570
+     * @param string $cnae
571
+     * @param string $description
571 572
      * @return $this
572 573
      */
573 574
     public function setCompanyMainActivity($cnae, $description)
Please login to merge, or discard this patch.
tests/TestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -171,7 +171,7 @@
 block discarded – undo
171 171
     {
172 172
         $moip = new Moip(new OAuth('1tldio91gi74r34zv30d4saz8yuuws5'), Moip::ENDPOINT_SANDBOX);
173 173
 
174
-        $uniqEmail = 'fulano' . uniqid('MPA-') . '@detal123.com.br';
174
+        $uniqEmail = 'fulano'.uniqid('MPA-').'@detal123.com.br';
175 175
 
176 176
         $account = $moip->accounts()
177 177
             ->setEmail($uniqEmail)
Please login to merge, or discard this patch.