(bug 41332) syncing params between child and parent methods

Change-Id: Icaec6ad0b332a2bd2b40d849e2d377d24dab6872
This commit is contained in:
Kaldari 2012-10-23 14:57:22 -07:00
parent 5bf61444bc
commit a202fd8a12
3 changed files with 3 additions and 3 deletions

View file

@ -148,7 +148,7 @@ class EchoBasicFormatter extends EchoNotificationFormatter {
* @param $user User
* @throws MWException
*/
protected function processParam( EchoEvent $event, $param, $message, $user ) {
protected function processParam( $event, $param, $message, $user ) {
if ( $param === 'agent' ) {
// Actually converts to two parameters for gender support
if ( !$event->getAgent() ) {

View file

@ -21,7 +21,7 @@ class EchoCommentFormatter extends EchoEditFormatter {
}
}
protected function formatFragment( $details, $event, User $user ) {
protected function formatFragment( $details, $event, $user ) {
$userTalkPage = $user->getUserPage()->getTalkPage();
if (

View file

@ -8,7 +8,7 @@ class EchoEditFormatter extends EchoBasicFormatter {
* @param $message Message
* @param $user User
*/
protected function processParam( EchoEvent $event, $param, $message, $user ) {
protected function processParam( $event, $param, $message, $user ) {
if ( $param === 'difflink' ) {
$eventData = $event->getExtra();
if ( !isset( $eventData['revid'] ) ) {