@@ -26,6 +26,10 @@ discard block |
||
| 26 | 26 | */ |
| 27 | 27 | private $lockEnabled; |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @param integer $threshold |
|
| 31 | + * @param boolean $lockEnabled |
|
| 32 | + */ |
|
| 29 | 33 | public function __construct(ObjectManager $em, $threshold, $lockEnabled) |
| 30 | 34 | { |
| 31 | 35 | $this->setObjectManager($em); |
@@ -138,7 +142,7 @@ discard block |
||
| 138 | 142 | * |
| 139 | 143 | * @param LockableEntity $entity |
| 140 | 144 | * @param User $userToExclude |
| 141 | - * @return EntityVersionLock[] |
|
| 145 | + * @return \Kunstmaan\AdminListBundle\Repository\EntityVersionLock[] |
|
| 142 | 146 | */ |
| 143 | 147 | protected function getEntityVersionLocksByLockableEntity(LockableEntity $entity, User $userToExclude = null) |
| 144 | 148 | { |
@@ -11,6 +11,9 @@ |
||
| 11 | 11 | { |
| 12 | 12 | protected $id; |
| 13 | 13 | |
| 14 | + /** |
|
| 15 | + * @param string $id |
|
| 16 | + */ |
|
| 14 | 17 | public function __construct($id) |
| 15 | 18 | { |
| 16 | 19 | $this->setId($id); |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | - * @return AbstractPagePartAdminConfigurator[] |
|
| 25 | + * @return AbstractArticleOverviewPagePagePartAdminConfigurator[] |
|
| 26 | 26 | */ |
| 27 | 27 | public function getPagePartAdminConfigurations() |
| 28 | 28 | { |
@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use Kunstmaan\AdminBundle\Helper\Menu\MenuBuilder; |
| 7 | 7 | use Kunstmaan\AdminBundle\Helper\Menu\MenuItem; |
| 8 | 8 | use Symfony\Component\HttpFoundation\Request; |
| 9 | -use Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface; |
|
| 10 | 9 | |
| 11 | 10 | class VarnishMenuAdaptor implements MenuAdaptorInterface |
| 12 | 11 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManagerInterface; |
| 6 | 6 | use Kunstmaan\ConfigBundle\Entity\AbstractConfig; |
| 7 | -use Symfony\Component\Routing\Generator\UrlGeneratorInterface; |
|
| 8 | 7 | use Twig_Extension; |
| 9 | 8 | |
| 10 | 9 | /** |
@@ -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 | { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | * |
| 87 | 87 | * @throws AccessDeniedException |
| 88 | 88 | * |
| 89 | - * @return array |
|
| 89 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
| 90 | 90 | */ |
| 91 | 91 | public function setTokenAction(Request $request) |
| 92 | 92 | { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * |
| 116 | 116 | * @throws AccessDeniedException |
| 117 | 117 | * |
| 118 | - * @return array |
|
| 118 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 119 | 119 | */ |
| 120 | 120 | public function configAction(Request $request) |
| 121 | 121 | { |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | * Set overviews |
| 76 | 76 | * |
| 77 | 77 | * @param array $overviews |
| 78 | - * @return AnalyticsDailyOverviews |
|
| 78 | + * @return AnalyticsConfig |
|
| 79 | 79 | */ |
| 80 | 80 | public function setOverviews($overviews) |
| 81 | 81 | { |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | * Set segments |
| 99 | 99 | * |
| 100 | 100 | * @param array $segments |
| 101 | - * @return AnalyticsDailysegments |
|
| 101 | + * @return AnalyticsConfig |
|
| 102 | 102 | */ |
| 103 | 103 | public function setSegments($segments) |
| 104 | 104 | { |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | * |
| 133 | 133 | * @param string $name |
| 134 | 134 | * |
| 135 | - * @return Analyticsname |
|
| 135 | + * @return AnalyticsConfig |
|
| 136 | 136 | */ |
| 137 | 137 | public function setName($name) |
| 138 | 138 | { |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | /** |
| 134 | 134 | * Get visits |
| 135 | 135 | * |
| 136 | - * @return integer |
|
| 136 | + * @return string |
|
| 137 | 137 | */ |
| 138 | 138 | public function getVisits() |
| 139 | 139 | { |
@@ -99,7 +99,7 @@ |
||
| 99 | 99 | * |
| 100 | 100 | * @param integer $config |
| 101 | 101 | * |
| 102 | - * @return AnalyticsTopReferrals |
|
| 102 | + * @return AnalyticsSegment |
|
| 103 | 103 | */ |
| 104 | 104 | public function setConfig($config) |
| 105 | 105 | { |