mirror of
https://github.com/Icinga/icingaweb2-module-businessprocess.git
synced 2025-12-18 23:16:16 -05:00
Sort: Fix var type error
This commit is contained in:
parent
004044a22a
commit
1f8d74a612
1 changed files with 3 additions and 1 deletions
|
|
@ -41,7 +41,9 @@ trait Sort
|
|||
return $this;
|
||||
}
|
||||
|
||||
list($sortBy, $direction) = Str::symmetricSplit($sort, ' ', 2, 'asc');
|
||||
/** @var array<int, string> $res */
|
||||
$res = Str::symmetricSplit($sort, ' ', 2, 'asc');
|
||||
[$sortBy, $direction] = $res;
|
||||
|
||||
switch ($sortBy) {
|
||||
case 'manual':
|
||||
|
|
|
|||
Loading…
Reference in a new issue