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
(parent:
5e2a76c
)
Factory functions are static
author
Chad Horohoe
<demon@users.mediawiki.org>
Sun, 28 Mar 2010 14:53:01 +0000
(14:53 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Sun, 28 Mar 2010 14:53:01 +0000
(14:53 +0000)
includes/Message.php
patch
|
blob
|
history
diff --git
a/includes/Message.php
b/includes/Message.php
index
70738c3
..
3db82cd
100644
(file)
--- a/
includes/Message.php
+++ b/
includes/Message.php
@@
-122,7
+122,7
@@
class Message {
* @param $key String: message key
* @return Message: $this
*/
- public function key( $key ) {
+ public
static
function key( $key ) {
return new Message( $key );
}