@@ -173,6 +173,7 @@ |
||
| 173 | 173 | * Get an array with the id's off all nodes in the tree that should be |
| 174 | 174 | * expanded. |
| 175 | 175 | * |
| 176 | + * @param Request $request |
|
| 176 | 177 | * @return array |
| 177 | 178 | */ |
| 178 | 179 | private function getActiveNodeIds($request) |
@@ -472,7 +472,7 @@ discard block |
||
| 472 | 472 | /** |
| 473 | 473 | * Add type to the index document |
| 474 | 474 | * |
| 475 | - * @param object $page |
|
| 475 | + * @param HasNodeInterface $page |
|
| 476 | 476 | * @param array $doc |
| 477 | 477 | * |
| 478 | 478 | * @return array |
@@ -663,6 +663,7 @@ discard block |
||
| 663 | 663 | /** |
| 664 | 664 | * Removes all HTML markup & decode HTML entities |
| 665 | 665 | * |
| 666 | + * @param string $text |
|
| 666 | 667 | * @return string |
| 667 | 668 | */ |
| 668 | 669 | protected function removeHtml($text) |
@@ -693,7 +694,7 @@ discard block |
||
| 693 | 694 | /** |
| 694 | 695 | * Fetch ACL permissions for the specified entity |
| 695 | 696 | * |
| 696 | - * @param object $object |
|
| 697 | + * @param Node $object |
|
| 697 | 698 | * |
| 698 | 699 | * @return array |
| 699 | 700 | */ |
@@ -727,7 +728,7 @@ discard block |
||
| 727 | 728 | } |
| 728 | 729 | |
| 729 | 730 | /** |
| 730 | - * @return mixed |
|
| 731 | + * @return HasNodeInterface |
|
| 731 | 732 | */ |
| 732 | 733 | private function getNodeRefPage(NodeVersion $publicNodeVersion) |
| 733 | 734 | { |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | } |
| 56 | 56 | |
| 57 | 57 | /** |
| 58 | - * @param GetResponseEvent|ResponseEvent $event |
|
| 58 | + * @param \PHPUnit\Framework\MockObject\MockObject $event |
|
| 59 | 59 | */ |
| 60 | 60 | public function onKernelRequest($event) |
| 61 | 61 | { |
@@ -82,6 +82,7 @@ discard block |
||
| 82 | 82 | |
| 83 | 83 | /** |
| 84 | 84 | * @param TokenInterface $token |
| 85 | + * @param string $providerKey |
|
| 85 | 86 | * |
| 86 | 87 | * @return bool |
| 87 | 88 | */ |
@@ -33,6 +33,9 @@ |
||
| 33 | 33 | $this->userFinder = $userFinder; |
| 34 | 34 | } |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param string $email |
|
| 38 | + */ |
|
| 36 | 39 | public function getOrCreateUser($email, $googleId) |
| 37 | 40 | { |
| 38 | 41 | if ($this->isConfiguredDomain($email)) { |
@@ -18,6 +18,10 @@ |
||
| 18 | 18 | $this->userClass = $userClass; |
| 19 | 19 | } |
| 20 | 20 | |
| 21 | + /** |
|
| 22 | + * @param string $email |
|
| 23 | + * @param integer $googleId |
|
| 24 | + */ |
|
| 21 | 25 | public function findUserByGoogleSignInData($email, $googleId) |
| 22 | 26 | { |
| 23 | 27 | //Check if already logged in before via Google auth |