@@ -49,8 +49,8 @@ |
||
49 | 49 | } |
50 | 50 | |
51 | 51 | /** |
52 | - * @param $command |
|
53 | - * @param $error |
|
52 | + * @param \Symfony\Component\Console\Command\Command $command |
|
53 | + * @param \Throwable $error |
|
54 | 54 | */ |
55 | 55 | private function logCommandError($command, $error) |
56 | 56 | { |
@@ -27,9 +27,9 @@ |
||
27 | 27 | /** |
28 | 28 | * Setter to check if we can display all form fields |
29 | 29 | * |
30 | - * @param $canEditAllFields |
|
30 | + * @param boolean $canEditAllFields |
|
31 | 31 | * |
32 | - * @return bool |
|
32 | + * @return boolean|null |
|
33 | 33 | */ |
34 | 34 | public function setCanEditAllFields($canEditAllFields) |
35 | 35 | { |
@@ -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 |
@@ -38,6 +38,7 @@ |
||
38 | 38 | |
39 | 39 | /** |
40 | 40 | * {@inheritdoc} |
41 | + * @param string $email |
|
41 | 42 | */ |
42 | 43 | public function getOrCreateUser($email, $googleId) |
43 | 44 | { |
@@ -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 | } |
@@ -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 | */ |