@@ -103,7 +103,7 @@ discard block |
||
| 103 | 103 | { |
| 104 | 104 | $command = Enum::INFO; |
| 105 | 105 | |
| 106 | - return $this->dispatch(Builder::build($command, $section))->then(function ($value) { |
|
| 106 | + return $this->dispatch(Builder::build($command, $section))->then(function($value) { |
|
| 107 | 107 | if ($value) { |
| 108 | 108 | $ret = explode("\r\n", $value); |
| 109 | 109 | $handled = []; |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | { |
| 114 | 114 | if (($pos = strpos($v, '#')) !== false) |
| 115 | 115 | { |
| 116 | - $lastKey = strtolower(substr($v,$pos+2)); |
|
| 116 | + $lastKey = strtolower(substr($v, $pos + 2)); |
|
| 117 | 117 | $handled[$lastKey] = []; |
| 118 | 118 | continue; |
| 119 | 119 | } |
@@ -104,7 +104,8 @@ discard block |
||
| 104 | 104 | $command = Enum::INFO; |
| 105 | 105 | |
| 106 | 106 | return $this->dispatch(Builder::build($command, $section))->then(function ($value) { |
| 107 | - if ($value) { |
|
| 107 | + if ($value) |
|
| 108 | + { |
|
| 108 | 109 | $ret = explode("\r\n", $value); |
| 109 | 110 | $handled = []; |
| 110 | 111 | $lastKey = ''; |
@@ -117,7 +118,8 @@ discard block |
||
| 117 | 118 | $handled[$lastKey] = []; |
| 118 | 119 | continue; |
| 119 | 120 | } |
| 120 | - if ($v === '') { |
|
| 121 | + if ($v === '') |
|
| 122 | + { |
|
| 121 | 123 | continue; |
| 122 | 124 | } |
| 123 | 125 | if (($statMap = explode(':', $v)) && $statMap[0] && $statMap[1]) |