@@ -52,6 +52,8 @@ |
||
| 52 | 52 | * @param array<string, mixed> $filterOptions |
| 53 | 53 | * @param array<string, mixed>|null $fieldOptions |
| 54 | 54 | * @param array<string, mixed> $fieldDescriptionOptions |
| 55 | + * @param string $type |
|
| 56 | + * @param string $fieldType |
|
| 55 | 57 | * |
| 56 | 58 | * @throws \LogicException |
| 57 | 59 | */ |
@@ -52,7 +52,7 @@ |
||
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | /** |
| 55 | - * @param FieldDescriptionInterface|string $name |
|
| 55 | + * @param \Sonata\AdminBundle\Admin\BaseFieldDescription $name |
|
| 56 | 56 | * @param array<string, mixed> $fieldDescriptionOptions |
| 57 | 57 | */ |
| 58 | 58 | public function addIdentifier($name, ?string $type = null, array $fieldDescriptionOptions = []): self |
@@ -132,6 +132,7 @@ discard block |
||
| 132 | 132 | /** |
| 133 | 133 | * Returns an array of page numbers to use in pagination links. |
| 134 | 134 | * |
| 135 | + * @param integer $nbLinks |
|
| 135 | 136 | * @return int[] |
| 136 | 137 | */ |
| 137 | 138 | public function getLinks(?int $nbLinks = null): array |
@@ -380,7 +381,7 @@ discard block |
||
| 380 | 381 | /** |
| 381 | 382 | * Returns a parameter. |
| 382 | 383 | * |
| 383 | - * @param mixed $default |
|
| 384 | + * @param null|string $default |
|
| 384 | 385 | * |
| 385 | 386 | * @return mixed |
| 386 | 387 | */ |
@@ -400,7 +401,7 @@ discard block |
||
| 400 | 401 | /** |
| 401 | 402 | * Sets a parameter. |
| 402 | 403 | * |
| 403 | - * @param mixed $value |
|
| 404 | + * @param string $value |
|
| 404 | 405 | */ |
| 405 | 406 | public function setParameter(string $name, $value): void |
| 406 | 407 | { |
@@ -32,8 +32,14 @@ discard block |
||
| 32 | 32 | */ |
| 33 | 33 | public function getResults(): array; |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @return void |
|
| 37 | + */ |
|
| 35 | 38 | public function buildPager(): void; |
| 36 | 39 | |
| 40 | + /** |
|
| 41 | + * @return void |
|
| 42 | + */ |
|
| 37 | 43 | public function addFilter(FilterInterface $filter): void; |
| 38 | 44 | |
| 39 | 45 | /** |
@@ -45,6 +51,7 @@ discard block |
||
| 45 | 51 | * Reorder filters. |
| 46 | 52 | * |
| 47 | 53 | * @param string[] $keys |
| 54 | + * @return void |
|
| 48 | 55 | */ |
| 49 | 56 | public function reorderFilters(array $keys): void; |
| 50 | 57 | |
@@ -57,6 +64,7 @@ discard block |
||
| 57 | 64 | |
| 58 | 65 | /** |
| 59 | 66 | * @param mixed $value |
| 67 | + * @return void |
|
| 60 | 68 | */ |
| 61 | 69 | public function setValue(string $name, ?string $operator, $value): void; |
| 62 | 70 | |
@@ -66,6 +74,9 @@ discard block |
||
| 66 | 74 | |
| 67 | 75 | public function hasFilter(string $name): bool; |
| 68 | 76 | |
| 77 | + /** |
|
| 78 | + * @return void |
|
| 79 | + */ |
|
| 69 | 80 | public function removeFilter(string $name): void; |
| 70 | 81 | |
| 71 | 82 | public function hasActiveFilters(): bool; |