@@ -14,16 +14,19 @@ |
||
| 14 | 14 | { |
| 15 | 15 | /** |
| 16 | 16 | * @param FormBuilderInterface $builder The form builder |
| 17 | + * @return void |
|
| 17 | 18 | */ |
| 18 | 19 | public function buildForm(FormBuilderInterface $builder); |
| 19 | 20 | |
| 20 | 21 | /** |
| 21 | 22 | * @param Request $request |
| 23 | + * @return void |
|
| 22 | 24 | */ |
| 23 | 25 | public function bindRequest(Request $request); |
| 24 | 26 | |
| 25 | 27 | /** |
| 26 | 28 | * @param EntityManager $em The entity manager |
| 29 | + * @return void |
|
| 27 | 30 | */ |
| 28 | 31 | public function persist(EntityManager $em); |
| 29 | 32 | |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | /** |
| 134 | 134 | * Return an iterator for all items that matches the current filtering |
| 135 | 135 | * |
| 136 | - * @return \Iterator |
|
| 136 | + * @return Statement |
|
| 137 | 137 | */ |
| 138 | 138 | public function getIterator() |
| 139 | 139 | { |
@@ -23,16 +23,19 @@ discard block |
||
| 23 | 23 | |
| 24 | 24 | /** |
| 25 | 25 | * Configure the fields you can filter on |
| 26 | + * @return void |
|
| 26 | 27 | */ |
| 27 | 28 | public function buildFilters(); |
| 28 | 29 | |
| 29 | 30 | /** |
| 30 | 31 | * Configure the actions for each item |
| 32 | + * @return void |
|
| 31 | 33 | */ |
| 32 | 34 | public function buildItemActions(); |
| 33 | 35 | |
| 34 | 36 | /** |
| 35 | 37 | * Configure the actions that can be executed on the whole list |
| 38 | + * @return void |
|
| 36 | 39 | */ |
| 37 | 40 | public function buildListActions(); |
| 38 | 41 | |
@@ -93,6 +96,9 @@ discard block |
||
| 93 | 96 | */ |
| 94 | 97 | public function canEdit($item); |
| 95 | 98 | |
| 99 | + /** |
|
| 100 | + * @return boolean |
|
| 101 | + */ |
|
| 96 | 102 | public function canView($item); |
| 97 | 103 | |
| 98 | 104 | /** |
@@ -226,6 +232,7 @@ discard block |
||
| 226 | 232 | * Bind request |
| 227 | 233 | * |
| 228 | 234 | * @param Request $request |
| 235 | + * @return void |
|
| 229 | 236 | */ |
| 230 | 237 | public function bindRequest(Request $request); |
| 231 | 238 | |
@@ -14,7 +14,7 @@ |
||
| 14 | 14 | * Construct Exception. |
| 15 | 15 | * |
| 16 | 16 | * @param string $message Message |
| 17 | - * @param mixed $data |
|
| 17 | + * @param string $data |
|
| 18 | 18 | * @param int $code |
| 19 | 19 | * @param \Throwable $previous |
| 20 | 20 | */ |
@@ -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); |
@@ -146,7 +150,7 @@ discard block |
||
| 146 | 150 | * @param LockableEntity $entity |
| 147 | 151 | * @param User $userToExclude |
| 148 | 152 | * |
| 149 | - * @return EntityVersionLock[] |
|
| 153 | + * @return \Kunstmaan\AdminListBundle\Repository\EntityVersionLock[] |
|
| 150 | 154 | */ |
| 151 | 155 | protected function getEntityVersionLocksByLockableEntity(LockableEntity $entity, User $userToExclude = null) |
| 152 | 156 | { |
@@ -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); |
@@ -17,7 +17,7 @@ |
||
| 17 | 17 | * |
| 18 | 18 | * @param \Symfony\Component\HttpFoundation\Request $request |
| 19 | 19 | * |
| 20 | - * @return array |
|
| 20 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 21 | 21 | */ |
| 22 | 22 | public function indexAction(Request $request, $segmentId = null) |
| 23 | 23 | { |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | * |
| 76 | 76 | * @param array $overviews |
| 77 | 77 | * |
| 78 | - * @return AnalyticsDailyOverviews |
|
| 78 | + * @return AnalyticsConfig |
|
| 79 | 79 | */ |
| 80 | 80 | public function setOverviews($overviews) |
| 81 | 81 | { |
@@ -99,7 +99,7 @@ discard block |
||
| 99 | 99 | * |
| 100 | 100 | * @param array $segments |
| 101 | 101 | * |
| 102 | - * @return AnalyticsDailysegments |
|
| 102 | + * @return AnalyticsConfig |
|
| 103 | 103 | */ |
| 104 | 104 | public function setSegments($segments) |
| 105 | 105 | { |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | * |
| 134 | 134 | * @param string $name |
| 135 | 135 | * |
| 136 | - * @return Analyticsname |
|
| 136 | + * @return AnalyticsConfig |
|
| 137 | 137 | */ |
| 138 | 138 | public function setName($name) |
| 139 | 139 | { |
@@ -136,7 +136,7 @@ |
||
| 136 | 136 | /** |
| 137 | 137 | * Get visits |
| 138 | 138 | * |
| 139 | - * @return int |
|
| 139 | + * @return string |
|
| 140 | 140 | */ |
| 141 | 141 | public function getVisits() |
| 142 | 142 | { |