|
@@ -339,7 +339,7 @@ discard block |
|
|
block discarded – undo |
|
339
|
339
|
|
|
340
|
340
|
public function getOneDocument(): ?Document |
|
341
|
341
|
{ |
|
342
|
|
- $documents = $this->getDocument()->filter(function ($peopleDocument) { |
|
|
342
|
+ $documents = $this->getDocument()->filter(function($peopleDocument) { |
|
343
|
343
|
if ($peopleDocument->getPeople()->getPeopleType() == 'F') { |
|
344
|
344
|
return $peopleDocument->getDocumentType()->getDocumentType() == 'CPF'; |
|
345
|
345
|
} |
|
@@ -371,7 +371,7 @@ discard block |
|
|
block discarded – undo |
|
371
|
371
|
return $this; |
|
372
|
372
|
} |
|
373
|
373
|
|
|
374
|
|
- public function setOtherInformations(stdClass|array $otherInformations) |
|
|
374
|
+ public function setOtherInformations(stdClass | array $otherInformations) |
|
375
|
375
|
{ |
|
376
|
376
|
$this->otherInformations = json_encode($otherInformations); |
|
377
|
377
|
return $this; |
Please login to merge, or discard this patch.