1
0
Fork 0
mirror of synced 2024-06-23 08:40:58 +12:00

Merge pull request #2008 from kaczmarekdaniel/master

Docker library psr issues fix
This commit is contained in:
Christy Jacob 2021-10-19 10:45:11 +05:30 committed by GitHub
commit 71559af6c7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

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] : ''

View file

@ -54,7 +54,7 @@ class Env
/**
* Get All Vars
*
*
* @return array
*/
public function list(): array