Skip to content

Commit 1b9b777

Browse files
Update phpstan baseline
1 parent fcfb1cf commit 1b9b777

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

library/Notifications/Web/Control/SearchBar/ObjectSuggestions.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,8 @@ protected function fetchValueSuggestions($column, $searchTerm, Filter\Chain $sea
104104

105105
if (strpos($column, ' ') !== false) {
106106
// $column may be a label
107-
list($path, $_) = Seq::find(
107+
/** @var string $path */
108+
[$path, $_] = Seq::find(
108109
self::collectFilterColumns($query->getModel(), $query->getResolver()),
109110
$column,
110111
false

phpstan-baseline-standard.neon

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1025,11 +1025,6 @@ parameters:
10251025
count: 1
10261026
path: library/Notifications/Web/Control/SearchBar/ObjectSuggestions.php
10271027

1028-
-
1029-
message: "#^Parameter \\#1 \\$path of method ipl\\\\Orm\\\\Resolver\\:\\:qualifyPath\\(\\) expects string, mixed given\\.$#"
1030-
count: 1
1031-
path: library/Notifications/Web/Control/SearchBar/ObjectSuggestions.php
1032-
10331028
-
10341029
message: "#^Property Icinga\\\\Module\\\\Notifications\\\\Web\\\\Control\\\\SearchBar\\\\ObjectSuggestions\\:\\:\\$model \\(ipl\\\\Orm\\\\Model\\) does not accept object\\.$#"
10351030
count: 1

0 commit comments

Comments
 (0)