Mercurial > hg > cmmr2012-drupal-site
diff vendor/guzzlehttp/guzzle/src/MessageFormatter.php @ 2:5311817fb629
Theme updates
author | Chris Cannam |
---|---|
date | Tue, 10 Jul 2018 13:19:18 +0000 |
parents | c75dbcec494b |
children |
line wrap: on
line diff
--- a/vendor/guzzlehttp/guzzle/src/MessageFormatter.php Thu Jul 05 15:32:06 2018 +0100 +++ b/vendor/guzzlehttp/guzzle/src/MessageFormatter.php Tue Jul 10 13:19:18 2018 +0000 @@ -19,7 +19,6 @@ * - {host}: Host of the request * - {method}: Method of the request * - {uri}: URI of the request - * - {host}: Host of the request * - {version}: Protocol version * - {target}: Request target of the request (path + query + fragment) * - {hostname}: Hostname of the machine that sent the request @@ -74,7 +73,6 @@ return preg_replace_callback( '/{\s*([A-Za-z_\-\.0-9]+)\s*}/', function (array $matches) use ($request, $response, $error, &$cache) { - if (isset($cache[$matches[1]])) { return $cache[$matches[1]]; }