Browse Source

Fix code style

pull/12/head
Jesse Ross 7 years ago
parent
commit
57564e21af
  1. 4
      src/Client.php

4
src/Client.php

@ -240,7 +240,7 @@ class Client implements Interfaces\ClientInterface
// If we have lines after current one // If we have lines after current one
if (isset($response[$j])) { if (isset($response[$j])) {
$this->pregResponse($response[$j], $matches); $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]; $result['after'][$matches[1][0]] = $matches[2][0];
} }
} }
@ -248,7 +248,7 @@ class Client implements Interfaces\ClientInterface
break 2; break 2;
default: default:
$this->pregResponse($value, $matches); $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]; $result[$i][$matches[1][0]] = $matches[2][0];
} }
break; break;

Loading…
Cancel
Save