@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Kunstmaan\AdminBundle\Helper\DomainConfigurationInterface; |
| 7 | 7 | use Kunstmaan\NodeBundle\Validation\URLValidator; |
| 8 | 8 | use Psr\Log\LoggerInterface; |
| 9 | -use Symfony\Component\HttpFoundation\RequestStack; |
|
| 10 | 9 | use Symfony\Component\Routing\RouterInterface; |
| 11 | 10 | |
| 12 | 11 | /** |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns a list of functions to add to the existing list. |
| 19 | 19 | * |
| 20 | - * @return array An array of functions |
|
| 20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 21 | 21 | */ |
| 22 | 22 | public function getFunctions() |
| 23 | 23 | { |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns a list of functions to add to the existing list. |
| 19 | 19 | * |
| 20 | - * @return array An array of functions |
|
| 20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 21 | 21 | */ |
| 22 | 22 | public function getFunctions() |
| 23 | 23 | { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | - * @return array |
|
| 29 | + * @return \Twig_SimpleFunction[] |
|
| 30 | 30 | */ |
| 31 | 31 | public function getFunctions() |
| 32 | 32 | { |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | * |
| 55 | 55 | * @param string $name The name of the route |
| 56 | 56 | * @param mixed $parameters An array of parameters |
| 57 | - * @param Boolean|string $referenceType The type of reference to be generated (one of the constants) |
|
| 57 | + * @param integer $referenceType The type of reference to be generated (one of the constants) |
|
| 58 | 58 | * |
| 59 | 59 | * @return string The generated URL |
| 60 | 60 | * |
@@ -136,7 +136,7 @@ discard block |
||
| 136 | 136 | |
| 137 | 137 | /** |
| 138 | 138 | * @param Redirect $redirect |
| 139 | - * @return bool |
|
| 139 | + * @return string|false |
|
| 140 | 140 | */ |
| 141 | 141 | private function isWildcardRedirect(Redirect $redirect) |
| 142 | 142 | { |
@@ -148,6 +148,9 @@ discard block |
||
| 148 | 148 | return false; |
| 149 | 149 | } |
| 150 | 150 | |
| 151 | + /** |
|
| 152 | + * @param string $matchSegment |
|
| 153 | + */ |
|
| 151 | 154 | private function isPathInfoWildcardMatch($matchSegment) |
| 152 | 155 | { |
| 153 | 156 | $path = $this->context->getPathInfo(); |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * Returns a list of functions to add to the existing list. |
| 19 | 19 | * |
| 20 | - * @return array An array of functions |
|
| 20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 21 | 21 | */ |
| 22 | 22 | public function getFunctions() |
| 23 | 23 | { |
@@ -22,7 +22,7 @@ discard block |
||
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * Constructor |
| 25 | - * @param Object $em entity manager |
|
| 25 | + * @param EntityManager $em entity manager |
|
| 26 | 26 | */ |
| 27 | 27 | public function __construct(EntityManager $em) |
| 28 | 28 | { |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | * Return repository for event |
| 34 | 34 | * @param Event $event event |
| 35 | 35 | * |
| 36 | - * @return Repository |
|
| 36 | + * @return \Doctrine\Common\Persistence\ObjectRepository|null |
|
| 37 | 37 | */ |
| 38 | 38 | public function getRepositoryForEvent($event) |
| 39 | 39 | { |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | * Return a repository By name |
| 67 | 67 | * @param string $name name |
| 68 | 68 | * |
| 69 | - * @return Repository |
|
| 69 | + * @return \Doctrine\Common\Persistence\ObjectRepository |
|
| 70 | 70 | */ |
| 71 | 71 | protected function getRepository($name) |
| 72 | 72 | { |
@@ -36,6 +36,7 @@ |
||
| 36 | 36 | |
| 37 | 37 | /** |
| 38 | 38 | * {@inheritDoc} |
| 39 | + * @param string $email |
|
| 39 | 40 | */ |
| 40 | 41 | public function getOrCreateUser($email, $googleId) |
| 41 | 42 | { |
@@ -27,6 +27,8 @@ |
||
| 27 | 27 | |
| 28 | 28 | /** |
| 29 | 29 | * {@inheritDoc} |
| 30 | + * @param string $email |
|
| 31 | + * @param integer $googleId |
|
| 30 | 32 | */ |
| 31 | 33 | public function findUserByGoogleSignInData($email, $googleId) |
| 32 | 34 | { |