Test Setup Failed
Branch master (d874c5)
by Lucas
18:59
created
src/LoginCidadao/CoreBundle/Controller/DynamicFormController.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -339,6 +339,10 @@  discard block
 block discarded – undo
339 339
         $formBuilder->add('idcard', 'lc_idcard_form', array('label' => false));
340 340
     }
341 341
 
342
+    /**
343
+     * @param string $field
344
+     * @param string $type
345
+     */
342 346
     private function addPersonField(FormBuilderInterface $formBuilder,
343 347
                                     Person $person, $field, $type = null,
344 348
                                     $options = array())
@@ -389,6 +393,9 @@  discard block
 block discarded – undo
389 393
         return;
390 394
     }
391 395
 
396
+    /**
397
+     * @return null|City
398
+     */
392 399
     private function getCity(Request $request)
393 400
     {
394 401
         $id = $request->get('city');
@@ -399,6 +406,9 @@  discard block
 block discarded – undo
399 406
         return $repo->find($id);
400 407
     }
401 408
 
409
+    /**
410
+     * @return null|State
411
+     */
402 412
     private function getState(Request $request)
403 413
     {
404 414
         $id = $request->get('state');
@@ -409,6 +419,9 @@  discard block
 block discarded – undo
409 419
         return $repo->find($id);
410 420
     }
411 421
 
422
+    /**
423
+     * @return null|Country
424
+     */
412 425
     private function getCountry(Request $request)
413 426
     {
414 427
         $id = $request->get('country');
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Controller/StatisticsController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -151,6 +151,9 @@
 block discarded – undo
151 151
         return compact('data');
152 152
     }
153 153
 
154
+    /**
155
+     * @param integer $days
156
+     */
154 157
     private function getNewUsersByService($days, $clientId = null,
155 158
                                           $format = 'html')
156 159
     {
Please login to merge, or discard this patch.
LoginCidadao/CoreBundle/Controller/TwoFactorAuthenticationController.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -126,6 +126,9 @@  discard block
 block discarded – undo
126 126
         return $this->getUser();
127 127
     }
128 128
 
129
+    /**
130
+     * @param \Symfony\Component\Form\Form $form
131
+     */
129 132
     protected function enable2FA(PersonInterface $person, $form)
130 133
     {
131 134
         $em = $this->getDoctrine()->getManager();
@@ -134,6 +137,9 @@  discard block
 block discarded – undo
134 137
         $em->flush();
135 138
     }
136 139
 
140
+    /**
141
+     * @param \Symfony\Component\Form\Form $form
142
+     */
137 143
     protected function disable2FA(BackupCodeInterface $person, $form)
138 144
     {
139 145
         $em = $this->getDoctrine()->getManager();
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Entity/AccessSession.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -74,6 +74,9 @@
 block discarded – undo
74 74
         return $this->ip;
75 75
     }
76 76
 
77
+    /**
78
+     * @param \DateTime $var
79
+     */
77 80
     public function setIDhacess($var)
78 81
     {
79 82
         $this->dhacess = $var;
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Entity/ClientSuggestion.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
      * Set text
51 51
      *
52 52
      * @param string $text
53
-     * @return Notification
53
+     * @return ClientSuggestion
54 54
      */
55 55
     public function setText($text)
56 56
     {
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Entity/Person.php 1 patch
Doc Comments   +17 added lines, -2 removed lines patch added patch discarded remove patch
@@ -438,6 +438,9 @@  discard block
 block discarded – undo
438 438
         return $this->birthdate;
439 439
     }
440 440
 
441
+    /**
442
+     * @param \DateTime $birthdate
443
+     */
441 444
     public function setBirthdate($birthdate)
442 445
     {
443 446
         $this->birthdate = $birthdate;
@@ -470,7 +473,7 @@  discard block
 block discarded – undo
470 473
     }
471 474
 
472 475
     /**
473
-     * @return Authorization[]
476
+     * @return ArrayCollection
474 477
      */
475 478
     public function getAuthorizations()
476 479
     {
@@ -676,6 +679,9 @@  discard block
 block discarded – undo
676 679
         return $this->cpf;
677 680
     }
678 681
 
682
+    /**
683
+     * @param null|\DateTime $cpfExpiration
684
+     */
679 685
     public function setCpfExpiration($cpfExpiration)
680 686
     {
681 687
         $this->cpfExpiration = $cpfExpiration;
@@ -690,7 +696,7 @@  discard block
 block discarded – undo
690 696
 
691 697
     /**
692 698
      * @param \LoginCidadao\CoreBundle\Entity\City $city
693
-     * @return City
699
+     * @return Person
694 700
      */
695 701
     public function setCity(\LoginCidadao\CoreBundle\Entity\City $city = null)
696 702
     {
@@ -782,6 +788,9 @@  discard block
 block discarded – undo
782 788
         }
783 789
     }
784 790
 
791
+    /**
792
+     * @param \DateTime $emailExpiration
793
+     */
785 794
     public function setEmailExpiration($emailExpiration)
786 795
     {
787 796
         $this->emailExpiration = $emailExpiration;
@@ -794,6 +803,9 @@  discard block
 block discarded – undo
794 803
         return $this->emailExpiration;
795 804
     }
796 805
 
806
+    /**
807
+     * @param string $confirmationToken
808
+     */
797 809
     public function setConfirmationToken($confirmationToken)
798 810
     {
799 811
         parent::setConfirmationToken($confirmationToken);
@@ -1230,6 +1242,9 @@  discard block
 block discarded – undo
1230 1242
         return LongPollingUtils::runTimeLimited($callback);
1231 1243
     }
1232 1244
 
1245
+    /**
1246
+     * @param \DateTime $updatedAt
1247
+     */
1233 1248
     private function getCheckUpdateCallback(EntityManager $em, $id, $updatedAt,
1234 1249
                                             $lastUpdatedAt)
1235 1250
     {
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/Entity/State.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,6 @@
 block discarded – undo
135 135
     /**
136 136
      * Set Acronym
137 137
      *
138
-     * @param string $name
139 138
      * @return State
140 139
      */
141 140
     public function setAcronym($var)
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/EventListener/LoggedInUserListener.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -157,6 +157,9 @@
 block discarded – undo
157 157
                 ->getRepository('LoginCidadaoCoreBundle:InvalidateSessionRequest');
158 158
     }
159 159
 
160
+    /**
161
+     * @param string $name
162
+     */
160 163
     private function redirectRoute($name, $parameters = array())
161 164
     {
162 165
         $url = $this->router->generate($name, $parameters);
Please login to merge, or discard this patch.
src/LoginCidadao/CoreBundle/EventListener/NotificationsSubscriber.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -58,6 +58,7 @@
 block discarded – undo
58 58
     }
59 59
 
60 60
     /**
61
+     * @param NotificationInterface $notification
61 62
      * @return PersonNotificationOption
62 63
      */
63 64
     private function getSettings($notification)
Please login to merge, or discard this patch.