@@ -339,6 +339,10 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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'); |
@@ -151,6 +151,9 @@ |
||
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 | { |
@@ -126,6 +126,9 @@ discard block |
||
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 |
||
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(); |
@@ -74,6 +74,9 @@ |
||
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; |
@@ -50,7 +50,7 @@ |
||
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 | { |
@@ -438,6 +438,9 @@ discard block |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 |
||
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 | { |
@@ -135,7 +135,6 @@ |
||
135 | 135 | /** |
136 | 136 | * Set Acronym |
137 | 137 | * |
138 | - * @param string $name |
|
139 | 138 | * @return State |
140 | 139 | */ |
141 | 140 | public function setAcronym($var) |
@@ -157,6 +157,9 @@ |
||
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); |
@@ -58,6 +58,7 @@ |
||
58 | 58 | } |
59 | 59 | |
60 | 60 | /** |
61 | + * @param NotificationInterface $notification |
|
61 | 62 | * @return PersonNotificationOption |
62 | 63 | */ |
63 | 64 | private function getSettings($notification) |