@@ -698,7 +698,7 @@ |
||
698 | 698 | |
699 | 699 | public function getOneDocument(): ?Document |
700 | 700 | { |
701 | - $documents = $this->getDocument()->filter(function ($peopleDocument) { |
|
701 | + $documents = $this->getDocument()->filter(function($peopleDocument) { |
|
702 | 702 | if ($peopleDocument->getPeople()->getPeopleType() == 'F') { |
703 | 703 | return $peopleDocument->getDocumentType()->getDocumentType() == 'CPF'; |
704 | 704 | } |