@@ -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 |
@@ -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 |
@@ -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 | { |