@@ -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 | } |
@@ -43,6 +43,9 @@ discard block |
||
| 43 | 43 | |
| 44 | 44 | public function getLabel(): ?string; |
| 45 | 45 | |
| 46 | + /** |
|
| 47 | + * @return void |
|
| 48 | + */ |
|
| 46 | 49 | public function setLabel(string $label): void; |
| 47 | 50 | |
| 48 | 51 | /** |
@@ -51,19 +54,21 @@ discard block |
||
| 51 | 54 | public function getDefaultOptions(): array; |
| 52 | 55 | |
| 53 | 56 | /** |
| 54 | - * @param mixed $default |
|
| 57 | + * @param boolean $default |
|
| 55 | 58 | * |
| 56 | 59 | * @return mixed |
| 57 | 60 | */ |
| 58 | 61 | public function getOption(string $name, $default = null); |
| 59 | 62 | |
| 60 | 63 | /** |
| 61 | - * @param mixed $value |
|
| 64 | + * @param boolean $value |
|
| 65 | + * @return void |
|
| 62 | 66 | */ |
| 63 | 67 | public function setOption(string $name, $value): void; |
| 64 | 68 | |
| 65 | 69 | /** |
| 66 | 70 | * @param array<string, mixed> $options |
| 71 | + * @return void |
|
| 67 | 72 | */ |
| 68 | 73 | public function initialize(string $name, array $options = []): void; |
| 69 | 74 | |
@@ -105,6 +110,7 @@ discard block |
||
| 105 | 110 | |
| 106 | 111 | /** |
| 107 | 112 | * @param mixed $value |
| 113 | + * @return void |
|
| 108 | 114 | */ |
| 109 | 115 | public function setFieldOption(string $name, $value): void; |
| 110 | 116 | |
@@ -124,9 +130,13 @@ discard block |
||
| 124 | 130 | |
| 125 | 131 | /** |
| 126 | 132 | * Set the condition to use with the left side of the query : OR or AND. |
| 133 | + * @return void |
|
| 127 | 134 | */ |
| 128 | 135 | public function setCondition(string $condition): void; |
| 129 | 136 | |
| 137 | + /** |
|
| 138 | + * @return string|null |
|
| 139 | + */ |
|
| 130 | 140 | public function getCondition(): ?string; |
| 131 | 141 | |
| 132 | 142 | public function getTranslationDomain(): ?string; |