Skip to content

Commit d01511a

Browse files
authored
Fixed PHPStan issues (#1034)
1 parent d4395fe commit d01511a

File tree

2 files changed

+1
-46
lines changed

2 files changed

+1
-46
lines changed

phpstan-baseline.neon

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -10690,56 +10690,11 @@ parameters:
1069010690
count: 1
1069110691
path: src/lib/View/Filter/AdminSearchViewFilter.php
1069210692

10693-
-
10694-
message: "#^Offset 'content_types' on string\\|null in empty\\(\\) does not exist\\.$#"
10695-
count: 1
10696-
path: src/lib/View/Filter/AdminSearchViewFilter.php
10697-
10698-
-
10699-
message: "#^Offset 'created' on string\\|null on left side of \\?\\? does not exist\\.$#"
10700-
count: 1
10701-
path: src/lib/View/Filter/AdminSearchViewFilter.php
10702-
10703-
-
10704-
message: "#^Offset 'last_modified' on string\\|null on left side of \\?\\? does not exist\\.$#"
10705-
count: 1
10706-
path: src/lib/View/Filter/AdminSearchViewFilter.php
10707-
10708-
-
10709-
message: "#^Offset 'limit' on string\\|null in isset\\(\\) does not exist\\.$#"
10710-
count: 1
10711-
path: src/lib/View/Filter/AdminSearchViewFilter.php
10712-
10713-
-
10714-
message: "#^Offset 'page' on string\\|null in isset\\(\\) does not exist\\.$#"
10715-
count: 1
10716-
path: src/lib/View/Filter/AdminSearchViewFilter.php
10717-
10718-
-
10719-
message: "#^Offset 'query' on string\\|null on left side of \\?\\? does not exist\\.$#"
10720-
count: 1
10721-
path: src/lib/View/Filter/AdminSearchViewFilter.php
10722-
10723-
-
10724-
message: "#^Offset 'section' on string\\|null in empty\\(\\) does not exist\\.$#"
10725-
count: 1
10726-
path: src/lib/View/Filter/AdminSearchViewFilter.php
10727-
10728-
-
10729-
message: "#^Offset 'subtree' on string\\|null on left side of \\?\\? does not exist\\.$#"
10730-
count: 1
10731-
path: src/lib/View/Filter/AdminSearchViewFilter.php
10732-
1073310693
-
1073410694
message: "#^Property Ibexa\\\\AdminUi\\\\View\\\\Filter\\\\AdminSearchViewFilter\\:\\:\\$siteAccessGroups type has no value type specified in iterable type array\\.$#"
1073510695
count: 1
1073610696
path: src/lib/View/Filter/AdminSearchViewFilter.php
1073710697

10738-
-
10739-
message: "#^Result of && is always false\\.$#"
10740-
count: 1
10741-
path: src/lib/View/Filter/AdminSearchViewFilter.php
10742-
1074310698
-
1074410699
message: "#^Method Ibexa\\\\AdminUi\\\\View\\\\Provider\\\\ContentTranslateView\\\\Configured\\:\\:buildContentTranslateView\\(\\) has parameter \\$viewConfig with no value type specified in iterable type array\\.$#"
1074510700
count: 1

src/lib/View/Filter/AdminSearchViewFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function handleSearchForm(FilterViewBuilderParametersEvent $event): void
9797
return;
9898
}
9999

100-
$search = $request->query->get('search');
100+
$search = $request->query->all('search');
101101
$limit = isset($search['limit']) ? (int)$search['limit'] : $this->configResolver->getParameter('pagination.search_limit');
102102
$page = isset($search['page']) ? (int)$search['page'] : 1;
103103
$query = $search['query'] ?? '';

0 commit comments

Comments
 (0)