aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/HTTP
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2023-08-31 14:22:35 +0200
committerAndreas Gohr <andi@splitbrain.org>2023-08-31 14:22:35 +0200
commit177d6836e2f75d0e404be9c566e61725852a1e07 (patch)
tree6f503a52fd65527fbd6722e959f67f2dbcaa78bb /inc/HTTP
parent83bec4752cdd7b0b551fb56e3e2736f3ae1633fa (diff)
downloaddokuwiki-177d6836e2f75d0e404be9c566e61725852a1e07.tar.gz
dokuwiki-177d6836e2f75d0e404be9c566e61725852a1e07.zip
coding style: control flow whitespaces
Diffstat (limited to 'inc/HTTP')
-rw-r--r--inc/HTTP/HTTPClient.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/inc/HTTP/HTTPClient.php b/inc/HTTP/HTTPClient.php
index 06b68a43a..354d03e83 100644
--- a/inc/HTTP/HTTPClient.php
+++ b/inc/HTTP/HTTPClient.php
@@ -319,8 +319,7 @@ class HTTPClient
if ($match[1] > $this->max_bodysize) {
if ($this->max_bodysize_abort)
throw new HTTPClientException('Reported content length exceeds allowed response size');
- else
- $this->error = 'Reported content length exceeds allowed response size';
+ else $this->error = 'Reported content length exceeds allowed response size';
}
}
@@ -466,7 +465,6 @@ class HTTPClient
}
}
}
-
} catch (HTTPClientException $err) {
$this->error = $err->getMessage();
if ($err->getCode())