PSR 2 compliance
This commit is contained in:
parent
b0e0dc33b6
commit
e84de66dfa
3 changed files with 9 additions and 10 deletions
|
|
@ -45,7 +45,7 @@ function getVisibleWorkspacesNodes(array $tree, array $workspaces): array
|
|||
$nodes,
|
||||
$tree['floating_nodes']
|
||||
);
|
||||
} elseif ($output === '__i3' && isset($tree['window'])) {
|
||||
} elseif ('__i3' === $output && isset($tree['window'])) {
|
||||
$nodes[] = $tree;
|
||||
}
|
||||
}
|
||||
|
|
@ -70,7 +70,6 @@ function getVisibleWorkspacesNodes(array $tree, array $workspaces): array
|
|||
foreach ($n['floating_nodes'] as $node) {
|
||||
$nodes[] = $node;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue