Completed
Pull Request — master (#70)
by
unknown
06:33
created
tests/MoipTestCase.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
 	{
151 151
 		$moip = new Moip(new MoipOAuth('1tldio91gi74r34zv30d4saz8yuuws5'), Moip::ENDPOINT_SANDBOX);
152 152
 		
153
-		$uniqEmail = 'fulano' . uniqid('MPA-') . '@detal123.com.br';
153
+		$uniqEmail = 'fulano'.uniqid('MPA-').'@detal123.com.br';
154 154
 		
155 155
 		$account = $moip->accounts()
156 156
 			->setEmail($uniqEmail)
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
 			->setLastName('de Tal')
159 159
 			->setBirthDate('1987-11-27')
160 160
 			->setTaxDocument('22222222222')
161
-			->setPhone(11,988888888)
161
+			->setPhone(11, 988888888)
162 162
 			->addAddress('Av. Ibirapuera', '2035', 'Moema', 'Sao Paulo', 'SP', '04078010')
163 163
 			->setIdentityDocument('411111115', 'SSP', '2000-05-06')
164 164
 			->create();
Please login to merge, or discard this patch.
src/Resource/Account.php 1 patch
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.