Skip to content

Commit

Permalink
removed extra whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
po1vo authored Nov 22, 2023
1 parent b4a676a commit d257401
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/php/Converter.php
Original file line number Diff line number Diff line change
Expand Up @@ -1410,7 +1410,7 @@ public function convertNetworkInventory(array $data): array
foreach ($data['content']['network_ports'] as &$netport) {
if (isset($netport['vlans'])) {
$netport['vlans'] = is_array($netport['vlans']['vlan'])
&& array_is_list($netport['vlans']['vlan'])
&& array_is_list($netport['vlans']['vlan'])
? $netport['vlans']['vlan']
: [$netport['vlans']['vlan']];
}
Expand Down

0 comments on commit d257401

Please sign in to comment.