Passed
Push — master ( 70788f...f67414 )
by Luiz Kim
02:15
created
src/Entity/People.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -813,15 +813,15 @@  discard block
 block discarded – undo
813 813
         $this->enable = 0;
814 814
         $this->icms = 1;
815 815
         $this->billing = 0;
816
-        $this->registerDate =            new \DateTime('now');
817
-        $this->people =            new \Doctrine\Common\Collections\ArrayCollection();
818
-        $this->config =            new \Doctrine\Common\Collections\ArrayCollection();
819
-        $this->company =            new \Doctrine\Common\Collections\ArrayCollection();
820
-        $this->user =            new \Doctrine\Common\Collections\ArrayCollection();
821
-        $this->document =            new \Doctrine\Common\Collections\ArrayCollection();
822
-        $this->address =            new \Doctrine\Common\Collections\ArrayCollection();
823
-        $this->email =            new \Doctrine\Common\Collections\ArrayCollection();
824
-        $this->phone =            new \Doctrine\Common\Collections\ArrayCollection();
816
+        $this->registerDate = new \DateTime('now');
817
+        $this->people = new \Doctrine\Common\Collections\ArrayCollection();
818
+        $this->config = new \Doctrine\Common\Collections\ArrayCollection();
819
+        $this->company = new \Doctrine\Common\Collections\ArrayCollection();
820
+        $this->user = new \Doctrine\Common\Collections\ArrayCollection();
821
+        $this->document = new \Doctrine\Common\Collections\ArrayCollection();
822
+        $this->address = new \Doctrine\Common\Collections\ArrayCollection();
823
+        $this->email = new \Doctrine\Common\Collections\ArrayCollection();
824
+        $this->phone = new \Doctrine\Common\Collections\ArrayCollection();
825 825
         $this->billingDays = 'daily';
826 826
         $this->paymentTerm = 1;
827 827
 
@@ -1159,7 +1159,7 @@  discard block
 block discarded – undo
1159 1159
     }
1160 1160
     public function getOneDocument(): ?Document
1161 1161
     {
1162
-        $documents = $this->getDocument()->filter(function ($peopleDocument) {
1162
+        $documents = $this->getDocument()->filter(function($peopleDocument) {
1163 1163
             if ($peopleDocument->getPeople()->getPeopleType() == 'F') {
1164 1164
                 return $peopleDocument->getDocumentType()->getDocumentType() == 'CPF';
1165 1165
             }
Please login to merge, or discard this patch.