Docker library psr issues fix
This commit is contained in:
parent
026efb8c25
commit
8531eddeb4
|
@ -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] : ''
|
||||||
|
|
|
@ -54,7 +54,7 @@ class Env
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get All Vars
|
* Get All Vars
|
||||||
*
|
*
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
public function list(): array
|
public function list(): array
|
||||||
|
|
Loading…
Reference in a new issue