dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Clean up get_class() in /includes/filerepo and /includes/resourceloader
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
file
/
File.php
diff --git
a/includes/filerepo/file/File.php
b/includes/filerepo/file/File.php
index
3b873ea
..
f7e85a8
100644
(file)
--- a/
includes/filerepo/file/File.php
+++ b/
includes/filerepo/file/File.php
@@
-1766,7
+1766,7
@@
abstract class File implements IDBAccessObject {
* @throws MWException
*/
function readOnlyError() {
- throw new MWException(
get_class( $this )
. ': write operations are not supported' );
+ throw new MWException(
static::class
. ': write operations are not supported' );
}
/**