From ecbd13d6e485b7c61beba340b4c7d8e823edd3de Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sun, 28 Mar 2010 14:53:01 +0000 Subject: [PATCH] Factory functions are static --- includes/Message.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Message.php b/includes/Message.php index 70738c33d2..3db82cdff6 100644 --- 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 ); } -- 2.20.1