dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
6244b8c
)
Fix "MWExceptionRenderer::getText() should not be called statically" errors
author
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 19 Sep 2016 17:55:07 +0000
(10:55 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Mon, 19 Sep 2016 17:55:10 +0000
(10:55 -0700)
Change-Id: Icfb65795b1455217ca9bc2c1f7cd453144ad5106
includes/exception/MWExceptionRenderer.php
patch
|
blob
|
history
diff --git
a/includes/exception/MWExceptionRenderer.php
b/includes/exception/MWExceptionRenderer.php
index
6fed7af
..
e242da3
100644
(file)
--- a/
includes/exception/MWExceptionRenderer.php
+++ b/
includes/exception/MWExceptionRenderer.php
@@
-257,7
+257,7
@@
class MWExceptionRenderer {
* @param Exception|Throwable $e
* @return string
*/
- private function getText( $e ) {
+ private
static
function getText( $e ) {
if ( self::showBackTrace( $e ) ) {
return MWExceptionHandler::getLogMessage( $e ) .
"\nBacktrace:\n" .