Passed
Push — master ( 48fb9f...e705ce )
by Luiz Kim
13:35 queued 11:07
created
src/Entity/People.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -139,11 +139,11 @@  discard block
 block discarded – undo
139 139
     private $user;
140 140
 
141 141
     #[ORM\OneToMany(targetEntity: Document::class, mappedBy: 'people')]
142
-    #[Groups(['people:read',  'people:write'])]
142
+    #[Groups(['people:read', 'people:write'])]
143 143
     private $document;
144 144
 
145 145
     #[ORM\OneToMany(targetEntity: CompanyDocument::class, mappedBy: 'people')]
146
-    #[Groups(['people:read',  'people:write'])]
146
+    #[Groups(['people:read', 'people:write'])]
147 147
     private $company_document;
148 148
 
149 149
     #[ORM\OneToMany(targetEntity: Address::class, mappedBy: 'people')]
@@ -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.