1
0
Fork 0
mirror of synced 2024-06-26 10:10:57 +12:00

Fixed reference

This commit is contained in:
Eldad Fux 2020-10-27 09:48:39 +02:00
parent cb82657a58
commit 745860a68d

View file

@ -21,7 +21,7 @@ class Service
$ports = (isset($this->service['ports']) && is_array($this->service['ports'])) ? $this->service['ports'] : [];
$this->service['ports'] = [];
array_walk($ports, function(&$value, &$key) {
array_walk($ports, function(&$value, $key) {
$split = explode(':', $value);
$this->service['ports'][
(isset($split[0])) ? $split[0] : ''