@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Victoire\Bundle\SitemapBundle\Controller; |
| 4 | 4 | |
| 5 | -use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
|
| 6 | 5 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
| 7 | 6 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template; |
| 8 | 7 | use Symfony\Bundle\FrameworkBundle\Controller\Controller; |
@@ -71,7 +71,7 @@ discard block |
||
| 71 | 71 | * Victoire login. |
| 72 | 72 | * |
| 73 | 73 | * @param Client $client |
| 74 | - * @param array $roles |
|
| 74 | + * @param string[] $roles |
|
| 75 | 75 | */ |
| 76 | 76 | protected function logIn(Client $client, array $roles) |
| 77 | 77 | { |
@@ -139,7 +139,7 @@ discard block |
||
| 139 | 139 | /** |
| 140 | 140 | * Get seeds files for Users, Pages and Templates. |
| 141 | 141 | * |
| 142 | - * @return array |
|
| 142 | + * @return string[] |
|
| 143 | 143 | */ |
| 144 | 144 | private function getSeeds() |
| 145 | 145 | { |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | /** |
| 125 | 125 | * Get categories. |
| 126 | 126 | * |
| 127 | - * @return string |
|
| 127 | + * @return ArrayCollection |
|
| 128 | 128 | */ |
| 129 | 129 | public function getCategories() |
| 130 | 130 | { |
@@ -176,7 +176,7 @@ discard block |
||
| 176 | 176 | } |
| 177 | 177 | |
| 178 | 178 | /** |
| 179 | - * @return string |
|
| 179 | + * @return ArrayCollection |
|
| 180 | 180 | */ |
| 181 | 181 | public function getTags() |
| 182 | 182 | { |