@@ -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 | { |
@@ -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 | { |
@@ -161,7 +161,7 @@ |
||
| 161 | 161 | } |
| 162 | 162 | |
| 163 | 163 | /** |
| 164 | - * @param mixed $googleId |
|
| 164 | + * @param string $googleId |
|
| 165 | 165 | */ |
| 166 | 166 | public function setGoogleId($googleId) |
| 167 | 167 | { |
@@ -27,7 +27,7 @@ |
||
| 27 | 27 | /** |
| 28 | 28 | * Constructor |
| 29 | 29 | * |
| 30 | - * @param AuthorizationCheckerInterface $container |
|
| 30 | + * @param boolean $isEnabledVersionChecker |
|
| 31 | 31 | */ |
| 32 | 32 | public function __construct(AuthorizationCheckerInterface $authorizationChecker, $isEnabledVersionChecker) |
| 33 | 33 | { |
@@ -5,7 +5,6 @@ |
||
| 5 | 5 | use Doctrine\Common\Cache\Cache; |
| 6 | 6 | use Kunstmaan\AdminBundle\Helper\Toolbar\AbstractDataCollector; |
| 7 | 7 | use Kunstmaan\AdminBundle\Helper\VersionCheck\VersionChecker; |
| 8 | -use Monolog\Logger; |
|
| 9 | 8 | use Symfony\Component\HttpFoundation\Request; |
| 10 | 9 | use Symfony\Component\HttpFoundation\Response; |
| 11 | 10 | |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * Get Twig functions defined in this extension. |
| 25 | 25 | * |
| 26 | - * @return array |
|
| 26 | + * @return Twig_SimpleFunction[] |
|
| 27 | 27 | */ |
| 28 | 28 | public function getFunctions() |
| 29 | 29 | { |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | } |
| 117 | 117 | |
| 118 | 118 | /** |
| 119 | - * @param mixed $item |
|
| 119 | + * @param \Kunstmaan\MenuBundle\Entity\MenuItem $item |
|
| 120 | 120 | * |
| 121 | 121 | * @return bool |
| 122 | 122 | */ |
@@ -133,6 +133,11 @@ discard block |
||
| 133 | 133 | return $this->configurator->canAdd(); |
| 134 | 134 | } |
| 135 | 135 | |
| 136 | + /** |
|
| 137 | + * @param \Kunstmaan\MenuBundle\Entity\MenuItem $item |
|
| 138 | + * |
|
| 139 | + * @return boolean |
|
| 140 | + */ |
|
| 136 | 141 | public function canView($item) |
| 137 | 142 | { |
| 138 | 143 | return $this->configurator->canView($item); |
@@ -147,7 +152,7 @@ discard block |
||
| 147 | 152 | } |
| 148 | 153 | |
| 149 | 154 | /** |
| 150 | - * @param mixed $item |
|
| 155 | + * @param \Kunstmaan\MenuBundle\Entity\MenuItem $item |
|
| 151 | 156 | * |
| 152 | 157 | * @return array |
| 153 | 158 | */ |
@@ -156,13 +161,16 @@ discard block |
||
| 156 | 161 | return $this->configurator->getEditUrlFor($item); |
| 157 | 162 | } |
| 158 | 163 | |
| 164 | + /** |
|
| 165 | + * @param \Kunstmaan\MenuBundle\Entity\MenuItem $item |
|
| 166 | + */ |
|
| 159 | 167 | public function getViewUrlFor($item) |
| 160 | 168 | { |
| 161 | 169 | return $this->configurator->getViewUrlFor($item); |
| 162 | 170 | } |
| 163 | 171 | |
| 164 | 172 | /** |
| 165 | - * @param mixed $item |
|
| 173 | + * @param \Kunstmaan\MenuBundle\Entity\MenuItem $item |
|
| 166 | 174 | * |
| 167 | 175 | * @return array |
| 168 | 176 | */ |
@@ -182,7 +190,7 @@ discard block |
||
| 182 | 190 | } |
| 183 | 191 | |
| 184 | 192 | /** |
| 185 | - * @param mixed $item |
|
| 193 | + * @param \Kunstmaan\MenuBundle\Entity\MenuItem $item |
|
| 186 | 194 | * |
| 187 | 195 | * @return bool |
| 188 | 196 | */ |
@@ -246,7 +254,7 @@ discard block |
||
| 246 | 254 | } |
| 247 | 255 | |
| 248 | 256 | /** |
| 249 | - * @return array |
|
| 257 | + * @return ItemAction\ItemActionInterface[] |
|
| 250 | 258 | */ |
| 251 | 259 | public function getItemActions() |
| 252 | 260 | { |
@@ -270,7 +278,7 @@ discard block |
||
| 270 | 278 | } |
| 271 | 279 | |
| 272 | 280 | /** |
| 273 | - * @return array |
|
| 281 | + * @return ListAction\ListActionInterface[] |
|
| 274 | 282 | */ |
| 275 | 283 | public function getListActions() |
| 276 | 284 | { |
@@ -278,7 +286,7 @@ discard block |
||
| 278 | 286 | } |
| 279 | 287 | |
| 280 | 288 | /** |
| 281 | - * @return array |
|
| 289 | + * @return BulkAction\BulkActionInterface[] |
|
| 282 | 290 | */ |
| 283 | 291 | public function getBulkActions() |
| 284 | 292 | { |