Fixed reference
This commit is contained in:
parent
cb82657a58
commit
745860a68d
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ class Service
|
||||||
$ports = (isset($this->service['ports']) && is_array($this->service['ports'])) ? $this->service['ports'] : [];
|
$ports = (isset($this->service['ports']) && is_array($this->service['ports'])) ? $this->service['ports'] : [];
|
||||||
$this->service['ports'] = [];
|
$this->service['ports'] = [];
|
||||||
|
|
||||||
array_walk($ports, function(&$value, &$key) {
|
array_walk($ports, function(&$value, $key) {
|
||||||
$split = explode(':', $value);
|
$split = explode(':', $value);
|
||||||
$this->service['ports'][
|
$this->service['ports'][
|
||||||
(isset($split[0])) ? $split[0] : ''
|
(isset($split[0])) ? $split[0] : ''
|
||||||
|
|
Loading…
Reference in a new issue