From 537a7cf03d6ee86465f8aca761653606741d3658 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 9 Jan 2020 13:34:37 +0000 Subject: composer updates --- vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'vendor/ramsey/uuid/src/Provider/Node') diff --git a/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php b/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php index e3c080199..57015133a 100644 --- a/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php +++ b/vendor/ramsey/uuid/src/Provider/Node/SystemNodeProvider.php @@ -102,8 +102,11 @@ class SystemNodeProvider implements NodeProviderInterface return false; } + $macs = []; array_walk($addressPaths, function ($addressPath) use (&$macs) { - $macs[] = file_get_contents($addressPath); + if (is_readable($addressPath)) { + $macs[] = file_get_contents($addressPath); + } }); $macs = array_map('trim', $macs); -- cgit v1.2.3