@@ -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 | { |
@@ -46,6 +46,9 @@ |
||
| 46 | 46 | $container->getDefinition('kunstmaan_translator.datacollector')->setDecoratedService('translator'); |
| 47 | 47 | } |
| 48 | 48 | |
| 49 | + /** |
|
| 50 | + * @param ContainerBuilder $container |
|
| 51 | + */ |
|
| 49 | 52 | public function setTranslationConfiguration($config, $container) |
| 50 | 53 | { |
| 51 | 54 | $container->setAlias('translator', 'kunstmaan_translator.service.translator.translator'); |
@@ -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 | { |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | - * @return array |
|
| 24 | + * @return string[] |
|
| 25 | 25 | */ |
| 26 | 26 | public function getAccessRoles() |
| 27 | 27 | { |
@@ -57,6 +57,7 @@ |
||
| 57 | 57 | * @param string $origin |
| 58 | 58 | * @param string $target |
| 59 | 59 | * @param boolean $permanent |
| 60 | + * @param null|string $domain |
|
| 60 | 61 | * |
| 61 | 62 | * @return Redirect |
| 62 | 63 | */ |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | - * @return array |
|
| 24 | + * @return string[] |
|
| 25 | 25 | */ |
| 26 | 26 | public function getAccessRoles() |
| 27 | 27 | { |