Passed
Push — master ( fe8b36...51fbd7 )
by Luiz Kim
02:17
created
src/Entity/People.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -804,15 +804,15 @@  discard block
 block discarded – undo
804 804
         $this->enable = 0;
805 805
         $this->icms = 1;
806 806
         $this->billing = 0;
807
-        $this->registerDate =            new \DateTime('now');
808
-        $this->people =            new \Doctrine\Common\Collections\ArrayCollection();
809
-        $this->config =            new \Doctrine\Common\Collections\ArrayCollection();
810
-        $this->link =            new \Doctrine\Common\Collections\ArrayCollection();
811
-        $this->user =            new \Doctrine\Common\Collections\ArrayCollection();
812
-        $this->document =            new \Doctrine\Common\Collections\ArrayCollection();
813
-        $this->address =            new \Doctrine\Common\Collections\ArrayCollection();
814
-        $this->email =            new \Doctrine\Common\Collections\ArrayCollection();
815
-        $this->phone =            new \Doctrine\Common\Collections\ArrayCollection();
807
+        $this->registerDate = new \DateTime('now');
808
+        $this->people = new \Doctrine\Common\Collections\ArrayCollection();
809
+        $this->config = new \Doctrine\Common\Collections\ArrayCollection();
810
+        $this->link = new \Doctrine\Common\Collections\ArrayCollection();
811
+        $this->user = new \Doctrine\Common\Collections\ArrayCollection();
812
+        $this->document = new \Doctrine\Common\Collections\ArrayCollection();
813
+        $this->address = new \Doctrine\Common\Collections\ArrayCollection();
814
+        $this->email = new \Doctrine\Common\Collections\ArrayCollection();
815
+        $this->phone = new \Doctrine\Common\Collections\ArrayCollection();
816 816
         $this->billingDays = 'daily';
817 817
         $this->paymentTerm = 1;
818 818
 
@@ -1115,7 +1115,7 @@  discard block
 block discarded – undo
1115 1115
     }
1116 1116
     public function getOneDocument(): ?Document
1117 1117
     {
1118
-        $documents = $this->getDocument()->filter(function ($peopleDocument) {
1118
+        $documents = $this->getDocument()->filter(function($peopleDocument) {
1119 1119
             if ($peopleDocument->getPeople()->getPeopleType() == 'F') {
1120 1120
                 return $peopleDocument->getDocumentType()->getDocumentType() == 'CPF';
1121 1121
             }
Please login to merge, or discard this patch.