@@ -39,6 +39,7 @@ discard block |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * Returns the filter name. |
42 | + * @return string |
|
42 | 43 | */ |
43 | 44 | public function getName(): ?string; |
44 | 45 | |
@@ -52,6 +53,9 @@ discard block |
||
52 | 53 | */ |
53 | 54 | public function getLabel(): ?string; |
54 | 55 | |
56 | + /** |
|
57 | + * @return void |
|
58 | + */ |
|
55 | 59 | public function setLabel(string $label): void; |
56 | 60 | |
57 | 61 | /** |
@@ -60,19 +64,21 @@ discard block |
||
60 | 64 | public function getDefaultOptions(): array; |
61 | 65 | |
62 | 66 | /** |
63 | - * @param mixed|null $default |
|
67 | + * @param boolean $default |
|
64 | 68 | * |
65 | 69 | * @return mixed |
66 | 70 | */ |
67 | 71 | public function getOption(string $name, $default = null); |
68 | 72 | |
69 | 73 | /** |
70 | - * @param mixed $value |
|
74 | + * @param boolean $value |
|
75 | + * @return void |
|
71 | 76 | */ |
72 | 77 | public function setOption(string $name, $value): void; |
73 | 78 | |
74 | 79 | /** |
75 | 80 | * @param array<string, mixed> $options |
81 | + * @return void |
|
76 | 82 | */ |
77 | 83 | public function initialize(string $name, array $options = []): void; |
78 | 84 | |
@@ -111,6 +117,7 @@ discard block |
||
111 | 117 | * Set field option. |
112 | 118 | * |
113 | 119 | * @param mixed $value |
120 | + * @return void |
|
114 | 121 | */ |
115 | 122 | public function setFieldOption(string $name, $value): void; |
116 | 123 | |
@@ -130,9 +137,13 @@ discard block |
||
130 | 137 | |
131 | 138 | /** |
132 | 139 | * Set the condition to use with the left side of the query : OR or AND. |
140 | + * @return void |
|
133 | 141 | */ |
134 | 142 | public function setCondition(string $condition): void; |
135 | 143 | |
144 | + /** |
|
145 | + * @return string|null |
|
146 | + */ |
|
136 | 147 | public function getCondition(): ?string; |
137 | 148 | |
138 | 149 | public function getTranslationDomain(): ?string; |
@@ -41,11 +41,13 @@ |
||
41 | 41 | * "_per_page" => {int count rows per page} |
42 | 42 | * |
43 | 43 | * @param array<string, int|string|array{type: int, value: mixed}> $filters |
44 | + * @return void |
|
44 | 45 | */ |
45 | 46 | public function set(string $adminCode, array $filters): void; |
46 | 47 | |
47 | 48 | /** |
48 | 49 | * Reset persisted filters for given admin. |
50 | + * @return void |
|
49 | 51 | */ |
50 | 52 | public function reset(string $adminCode): void; |
51 | 53 | } |