@@ -26,6 +26,8 @@ |
||
26 | 26 | |
27 | 27 | /** |
28 | 28 | * {@inheritdoc} |
29 | + * @param string $email |
|
30 | + * @param integer $googleId |
|
29 | 31 | */ |
30 | 32 | public function findUserByGoogleSignInData($email, $googleId) |
31 | 33 | { |
@@ -29,7 +29,7 @@ |
||
29 | 29 | private $template; |
30 | 30 | |
31 | 31 | /** |
32 | - * @param array $url The url path and parameters |
|
32 | + * @param string[] $url The url path and parameters |
|
33 | 33 | * @param string $label The label |
34 | 34 | * @param string $icon The icon |
35 | 35 | * @param string $template The template |
@@ -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 |
@@ -13,6 +13,7 @@ discard block |
||
13 | 13 | * Bind current request. |
14 | 14 | * |
15 | 15 | * @param Request $request |
16 | + * @return void |
|
16 | 17 | */ |
17 | 18 | public function bindRequest(Request $request); |
18 | 19 | |
@@ -22,7 +23,7 @@ discard block |
||
22 | 23 | public function getLimit(); |
23 | 24 | |
24 | 25 | /** |
25 | - * @return array |
|
26 | + * @return integer[] |
|
26 | 27 | */ |
27 | 28 | public function getLimitOptions(); |
28 | 29 | } |
@@ -10,8 +10,8 @@ |
||
10 | 10 | /** |
11 | 11 | * FieldAlias constructor. |
12 | 12 | * |
13 | - * @param $abbr string |
|
14 | - * @param $relation string |
|
13 | + * @param string $abbr string |
|
14 | + * @param string $relation string |
|
15 | 15 | */ |
16 | 16 | public function __construct($abbr, $relation) |
17 | 17 | { |
@@ -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 | { |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | /** |
50 | 50 | * Set the summary of this article |
51 | 51 | * |
52 | - * @param $summary |
|
52 | + * @param string $summary |
|
53 | 53 | */ |
54 | 54 | public function setSummary($summary) |
55 | 55 | { |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | } |
89 | 89 | |
90 | 90 | /** |
91 | - * @return array |
|
91 | + * @return AbstractArticlePagePagePartAdminConfigurator[] |
|
92 | 92 | */ |
93 | 93 | public function getPagePartAdminConfigurations() |
94 | 94 | { |
@@ -25,8 +25,8 @@ discard block |
||
25 | 25 | * |
26 | 26 | * @param $configHelper |
27 | 27 | * @param $queryHelper |
28 | - * @param $output |
|
29 | - * @param $em |
|
28 | + * @param OutputInterface $output |
|
29 | + * @param \Doctrine\ORM\EntityManagerInterface $em |
|
30 | 30 | */ |
31 | 31 | public function __construct($configHelper, $queryHelper, $output, $em) |
32 | 32 | { |
@@ -80,6 +80,7 @@ discard block |
||
80 | 80 | /** |
81 | 81 | * Executes the query |
82 | 82 | * |
83 | + * @param string $metrics |
|
83 | 84 | * @return array the resultset |
84 | 85 | */ |
85 | 86 | protected function executeQuery(AnalyticsOverview $overview, $metrics) |