Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
php-cs check fix
Signed-off-by: Adrian Sausenthaler <[email protected]>
  • Loading branch information
sausix committed Dec 2, 2020
commit 0f9d5c36f1dd9016f4b88978848f9ad347782d21
2 changes: 1 addition & 1 deletion lib/OperatingSystems/DefaultOs.php
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ public function getNetworkInfo() {
* @return string
*/
public function getNetworkInterfaces() {
$interfaces = array_diff(scandir("/sys/class/net"), array('.', '..')); // remove dot directories
$interfaces = array_diff(scandir("/sys/class/net"), ['.', '..']); // remove dot directories
$result = [];

foreach ($interfaces as $interface) {
Expand Down