File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed
Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 3131use Sabre \DAV \ServerPlugin ;
3232
3333class BrowserErrorPagePlugin extends ServerPlugin {
34-
3534 /** @var Server */
3635 private $ server ;
3736
@@ -88,8 +87,7 @@ public function logException(\Exception $ex) {
8887
8988 /**
9089 * @codeCoverageIgnore
91- * @param \Exception $ex
92- * @param int $httpCode
90+ * @param \Exception $exception
9391 * @return bool|string
9492 */
9593 public function generateBody (\Exception $ exception ) {
@@ -109,10 +107,11 @@ public function generateBody(\Exception $exception) {
109107 return $ content ->fetchPage ();
110108 }
111109
112- /*
110+ /**
113111 * @codeCoverageIgnore
114112 */
115113 public function sendResponse () {
116114 $ this ->server ->sapi ->sendResponse ($ this ->server ->httpResponse );
115+ exit ();
117116 }
118117}
Original file line number Diff line number Diff line change 11<?php
22/**
3-
4- *
53 * @author Thomas Müller <thomas.mueller@tmit.eu>
64 *
75 * @license GNU AGPL version 3 or any later version
2119 *
2220 */
2321style ('core ' , ['styles ' , 'header ' ]);
22+
23+ /** @param $_ array */
2424?>
2525<span class="error error-wide">
2626 <h2><strong><?php p ($ _ ['title ' ]) ?> </strong></h2>
27- <p><?php p ($ _ ['message ' ]) ?> </p>
2827 <br>
2928
3029 <h2><strong><?php p ($ l ->t ('Technical details ' )) ?> </strong></h2>
You can’t perform that action at this time.
0 commit comments