diff --git a/src/Client.php b/src/Client.php index d038715..41090b6 100644 --- a/src/Client.php +++ b/src/Client.php @@ -240,7 +240,7 @@ class Client implements Interfaces\ClientInterface // If we have lines after current one if (isset($response[$j])) { $this->pregResponse($response[$j], $matches); - if (isset($matches[1][0]) && isset($matches[2][0])) { + if (isset($matches[1][0], $matches[2][0])) { $result['after'][$matches[1][0]] = $matches[2][0]; } } @@ -248,7 +248,7 @@ class Client implements Interfaces\ClientInterface break 2; default: $this->pregResponse($value, $matches); - if (isset($matches[1][0]) && isset($matches[2][0])) { + if (isset($matches[1][0], $matches[2][0])) { $result[$i][$matches[1][0]] = $matches[2][0]; } break;