@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | |
| 140 | 140 | /** |
| 141 | 141 | * @param PersonInterface[] $members |
| 142 | - * @return \Organization |
|
| 142 | + * @return Organization |
|
| 143 | 143 | */ |
| 144 | 144 | public function setMembers(array $members) |
| 145 | 145 | { |
@@ -158,7 +158,7 @@ discard block |
||
| 158 | 158 | |
| 159 | 159 | /** |
| 160 | 160 | * @param \DateTime $verifiedAt |
| 161 | - * @return \Organization |
|
| 161 | + * @return Organization |
|
| 162 | 162 | */ |
| 163 | 163 | public function setVerifiedAt($verifiedAt) |
| 164 | 164 | { |
@@ -74,6 +74,9 @@ |
||
| 74 | 74 | return $response; |
| 75 | 75 | } |
| 76 | 76 | |
| 77 | + /** |
|
| 78 | + * @param string $message |
|
| 79 | + */ |
|
| 77 | 80 | private function buildUrlViolation($message) |
| 78 | 81 | { |
| 79 | 82 | $this->context->buildViolation($message) |
@@ -335,6 +335,9 @@ discard block |
||
| 335 | 335 | return $this->response_types; |
| 336 | 336 | } |
| 337 | 337 | |
| 338 | + /** |
|
| 339 | + * @param string[] $response_types |
|
| 340 | + */ |
|
| 338 | 341 | public function setResponseTypes($response_types) |
| 339 | 342 | { |
| 340 | 343 | $this->response_types = $response_types; |
@@ -357,6 +360,9 @@ discard block |
||
| 357 | 360 | return $this->application_type; |
| 358 | 361 | } |
| 359 | 362 | |
| 363 | + /** |
|
| 364 | + * @param string $application_type |
|
| 365 | + */ |
|
| 360 | 366 | public function setApplicationType($application_type) |
| 361 | 367 | { |
| 362 | 368 | $this->application_type = $application_type; |
@@ -478,6 +484,9 @@ discard block |
||
| 478 | 484 | return $this->id_token_signed_response_alg; |
| 479 | 485 | } |
| 480 | 486 | |
| 487 | + /** |
|
| 488 | + * @param string $id_token_signed_response_alg |
|
| 489 | + */ |
|
| 481 | 490 | public function setIdTokenSignedResponseAlg($id_token_signed_response_alg) |
| 482 | 491 | { |
| 483 | 492 | $this->id_token_signed_response_alg = $id_token_signed_response_alg; |
@@ -577,6 +586,9 @@ discard block |
||
| 577 | 586 | return $this->token_endpoint_auth_method; |
| 578 | 587 | } |
| 579 | 588 | |
| 589 | + /** |
|
| 590 | + * @param string $token_endpoint_auth_method |
|
| 591 | + */ |
|
| 580 | 592 | public function setTokenEndpointAuthMethod($token_endpoint_auth_method) |
| 581 | 593 | { |
| 582 | 594 | $this->token_endpoint_auth_method = $token_endpoint_auth_method; |
@@ -610,6 +622,9 @@ discard block |
||
| 610 | 622 | return $this->require_auth_time; |
| 611 | 623 | } |
| 612 | 624 | |
| 625 | + /** |
|
| 626 | + * @param boolean $require_auth_time |
|
| 627 | + */ |
|
| 613 | 628 | public function setRequireAuthTime($require_auth_time) |
| 614 | 629 | { |
| 615 | 630 | $this->require_auth_time = $require_auth_time; |
@@ -675,12 +690,18 @@ discard block |
||
| 675 | 690 | return $this->client_secret; |
| 676 | 691 | } |
| 677 | 692 | |
| 693 | + /** |
|
| 694 | + * @param string $client_id |
|
| 695 | + */ |
|
| 678 | 696 | public function setClientId($client_id) |
| 679 | 697 | { |
| 680 | 698 | $this->client_id = $client_id; |
| 681 | 699 | return $this; |
| 682 | 700 | } |
| 683 | 701 | |
| 702 | + /** |
|
| 703 | + * @param string $client_secret |
|
| 704 | + */ |
|
| 684 | 705 | public function setClientSecret($client_secret) |
| 685 | 706 | { |
| 686 | 707 | $this->client_secret = $client_secret; |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | * (optional) If a secret is required, check that they've given the right one. |
| 32 | 32 | * |
| 33 | 33 | * @return |
| 34 | - * TRUE if the client credentials are valid, and MUST return FALSE if it isn't. |
|
| 34 | + boolean TRUE if the client credentials are valid, and MUST return FALSE if it isn't. |
|
| 35 | 35 | * @endcode |
| 36 | 36 | * |
| 37 | 37 | * @see http://tools.ietf.org/html/rfc6749#section-3.1 |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | * Client identifier to be check with. |
| 103 | 103 | * |
| 104 | 104 | * @return |
| 105 | - * TRUE if the client is public, and FALSE if it isn't. |
|
| 105 | + boolean TRUE if the client is public, and FALSE if it isn't. |
|
| 106 | 106 | * @endcode |
| 107 | 107 | * |
| 108 | 108 | * @see http://tools.ietf.org/html/rfc6749#section-2.3 |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | * Get the scope associated with this client |
| 130 | 130 | * |
| 131 | 131 | * @return |
| 132 | - * STRING the space-delineated scope list for the specified client_id |
|
| 132 | + false|string STRING the space-delineated scope list for the specified client_id |
|
| 133 | 133 | */ |
| 134 | 134 | public function getClientScope($client_id) |
| 135 | 135 | { |
@@ -13,7 +13,6 @@ |
||
| 13 | 13 | /** |
| 14 | 14 | * Currently only checks if the value is numeric. |
| 15 | 15 | * |
| 16 | - * @param string $cep |
|
| 17 | 16 | * @return boolean |
| 18 | 17 | */ |
| 19 | 18 | public static function isUsernameValid($var) |
@@ -66,6 +66,9 @@ |
||
| 66 | 66 | $em->flush(); |
| 67 | 67 | } |
| 68 | 68 | |
| 69 | + /** |
|
| 70 | + * @return null|\LoginCidadao\CoreBundle\Entity\Person |
|
| 71 | + */ |
|
| 69 | 72 | public function getUser(OAuthEvent $event) |
| 70 | 73 | { |
| 71 | 74 | return $this->personRepo |
@@ -470,7 +470,7 @@ discard block |
||
| 470 | 470 | } |
| 471 | 471 | |
| 472 | 472 | /** |
| 473 | - * @return Authorization[] |
|
| 473 | + * @return ArrayCollection |
|
| 474 | 474 | */ |
| 475 | 475 | public function getAuthorizations() |
| 476 | 476 | { |
@@ -676,6 +676,9 @@ discard block |
||
| 676 | 676 | return $this->cpf; |
| 677 | 677 | } |
| 678 | 678 | |
| 679 | + /** |
|
| 680 | + * @param null|\DateTime $cpfExpiration |
|
| 681 | + */ |
|
| 679 | 682 | public function setCpfExpiration($cpfExpiration) |
| 680 | 683 | { |
| 681 | 684 | $this->cpfExpiration = $cpfExpiration; |
@@ -690,7 +693,7 @@ discard block |
||
| 690 | 693 | |
| 691 | 694 | /** |
| 692 | 695 | * @param \LoginCidadao\CoreBundle\Entity\City $city |
| 693 | - * @return City |
|
| 696 | + * @return Person |
|
| 694 | 697 | */ |
| 695 | 698 | public function setCity(\LoginCidadao\CoreBundle\Entity\City $city = null) |
| 696 | 699 | { |
@@ -782,6 +785,9 @@ discard block |
||
| 782 | 785 | } |
| 783 | 786 | } |
| 784 | 787 | |
| 788 | + /** |
|
| 789 | + * @param \DateTime $emailExpiration |
|
| 790 | + */ |
|
| 785 | 791 | public function setEmailExpiration($emailExpiration) |
| 786 | 792 | { |
| 787 | 793 | $this->emailExpiration = $emailExpiration; |
@@ -794,6 +800,9 @@ discard block |
||
| 794 | 800 | return $this->emailExpiration; |
| 795 | 801 | } |
| 796 | 802 | |
| 803 | + /** |
|
| 804 | + * @param string $confirmationToken |
|
| 805 | + */ |
|
| 797 | 806 | public function setConfirmationToken($confirmationToken) |
| 798 | 807 | { |
| 799 | 808 | parent::setConfirmationToken($confirmationToken); |
@@ -1230,6 +1239,9 @@ discard block |
||
| 1230 | 1239 | return LongPollingUtils::runTimeLimited($callback); |
| 1231 | 1240 | } |
| 1232 | 1241 | |
| 1242 | + /** |
|
| 1243 | + * @param \DateTime $updatedAt |
|
| 1244 | + */ |
|
| 1233 | 1245 | private function getCheckUpdateCallback(EntityManager $em, $id, $updatedAt, |
| 1234 | 1246 | $lastUpdatedAt) |
| 1235 | 1247 | { |