@@ -6,15 +6,30 @@ |
||
| 6 | 6 | { |
| 7 | 7 | public function getExportFields(); |
| 8 | 8 | |
| 9 | + /** |
|
| 10 | + * @param string $header |
|
| 11 | + */ |
|
| 9 | 12 | public function addExportField($name, $header); |
| 10 | 13 | |
| 14 | + /** |
|
| 15 | + * @return void |
|
| 16 | + */ |
|
| 11 | 17 | public function buildIterator(); |
| 12 | 18 | |
| 13 | 19 | public function getIterator(); |
| 14 | 20 | |
| 21 | + /** |
|
| 22 | + * @return void |
|
| 23 | + */ |
|
| 15 | 24 | public function buildFilters(); |
| 16 | 25 | |
| 26 | + /** |
|
| 27 | + * @return void |
|
| 28 | + */ |
|
| 17 | 29 | public function buildExportFields(); |
| 18 | 30 | |
| 31 | + /** |
|
| 32 | + * @param string $columnName |
|
| 33 | + */ |
|
| 19 | 34 | public function getStringValue($item, $columnName); |
| 20 | 35 | } |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | /** |
| 18 | 18 | * You can override this method to return the correct entity manager when using multiple databases ... |
| 19 | 19 | * |
| 20 | - * @return \Doctrine\Common\Persistence\ObjectManager|object |
|
| 20 | + * @return \Doctrine\Common\Persistence\ObjectManager |
|
| 21 | 21 | */ |
| 22 | 22 | protected function getEntityManager() |
| 23 | 23 | { |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | /** |
| 114 | - * @param $entityClass |
|
| 114 | + * @param string $entityClass |
|
| 115 | 115 | * |
| 116 | 116 | * @return LockableEntity |
| 117 | 117 | */ |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | /** |
| 136 | 136 | * Set integer |
| 137 | 137 | * |
| 138 | - * @param $entityId |
|
| 138 | + * @param integer $entityId |
|
| 139 | 139 | * |
| 140 | 140 | * @return LockableEntity |
| 141 | 141 | */ |
@@ -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 | { |
@@ -22,8 +22,8 @@ discard block |
||
| 22 | 22 | * |
| 23 | 23 | * @param $configHelper |
| 24 | 24 | * @param $queryHelper |
| 25 | - * @param $output |
|
| 26 | - * @param $em |
|
| 25 | + * @param OutputInterface $output |
|
| 26 | + * @param EntityManager $em |
|
| 27 | 27 | */ |
| 28 | 28 | public function __construct($configHelper, $queryHelper, $output, $em) |
| 29 | 29 | { |
@@ -75,6 +75,7 @@ discard block |
||
| 75 | 75 | /** |
| 76 | 76 | * Executes the query |
| 77 | 77 | * |
| 78 | + * @param string $metrics |
|
| 78 | 79 | * @return array the resultset |
| 79 | 80 | */ |
| 80 | 81 | protected function executeQuery(AnalyticsOverview $overview, $metrics) { |
@@ -19,7 +19,7 @@ |
||
| 19 | 19 | * @Template() |
| 20 | 20 | * |
| 21 | 21 | * @param \Symfony\Component\HttpFoundation\Request $request |
| 22 | - * @return array |
|
| 22 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 23 | 23 | */ |
| 24 | 24 | public function indexAction(Request $request, $segmentId=null) |
| 25 | 25 | { |
@@ -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 | { |