@@ -58,6 +58,6 @@ |
||
| 58 | 58 | public function __construct($lines, Exception $e) |
| 59 | 59 | { |
| 60 | 60 | $message = "cannot parse net interface; error is: " . $e->getMessage(); |
| 61 | - return parent::__construct(400, $message, [ 'cause' => $e, 'input' => $lines ]); |
|
| 61 | + return parent::__construct(400, $message, ['cause' => $e, 'input' => $lines]); |
|
| 62 | 62 | } |
| 63 | 63 | } |
@@ -59,6 +59,6 @@ |
||
| 59 | 59 | public function __construct($lines, Exception $e) |
| 60 | 60 | { |
| 61 | 61 | $message = "cannot parse net interface; error is: " . $e->getMessage(); |
| 62 | - return parent::__construct(500, $message, [ 'cause' => $e, 'input' => $lines ]); |
|
| 62 | + return parent::__construct(500, $message, ['cause' => $e, 'input' => $lines]); |
|
| 63 | 63 | } |
| 64 | 64 | } |
@@ -149,11 +149,11 @@ |
||
| 149 | 149 | $linkLines[] = $line; |
| 150 | 150 | break; |
| 151 | 151 | case ClassifyIpAddrLine::INET_START: |
| 152 | - $inetLines[] = [ $line ]; |
|
| 152 | + $inetLines[] = [$line]; |
|
| 153 | 153 | $optionsTarget = 'inetLines'; |
| 154 | 154 | break; |
| 155 | 155 | case ClassifyIpAddrLine::INET6_START: |
| 156 | - $inet6Lines[] = [ $line ]; |
|
| 156 | + $inet6Lines[] = [$line]; |
|
| 157 | 157 | $optionsTarget = 'inet6Lines'; |
| 158 | 158 | break; |
| 159 | 159 | case ClassifyIpAddrLine::INET_OPTIONS: |