jenkins-bot has submitted this change and it was merged.

Change subject: fix Hooks::callSetStaticProperty() (v 2.8.4)
......................................................................


fix Hooks::callSetStaticProperty() (v 2.8.4)

move $object name to the end

Change-Id: I0f83bc934a0d2b26b3f497ae76de687d12574ee5
---
M PhpTags.php
M includes/Hooks.php
2 files changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Pastakhov: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/PhpTags.php b/PhpTags.php
index 957427d..101bd23 100644
--- a/PhpTags.php
+++ b/PhpTags.php
@@ -17,7 +17,7 @@
 
 define( 'PHPTAGS_MAJOR_VERSION', 2 );
 define( 'PHPTAGS_MINOR_VERSION', 8 );
-define( 'PHPTAGS_RELEASE_VERSION', 3 );
+define( 'PHPTAGS_RELEASE_VERSION', 4 );
 define( 'PHPTAGS_VERSION', PHPTAGS_MAJOR_VERSION . '.' . PHPTAGS_MINOR_VERSION 
. '.' . PHPTAGS_RELEASE_VERSION );
 
 define( 'PHPTAGS_HOOK_RELEASE', 4 );
diff --git a/includes/Hooks.php b/includes/Hooks.php
index 6e94a9c..8823c68 100644
--- a/includes/Hooks.php
+++ b/includes/Hooks.php
@@ -286,7 +286,7 @@
                        $object = $object->getName();
                }
                $className = self::getClassNameByObjectName( $object );
-               return call_user_func( array($className, "d_$name"), $object, 
$value );
+               return call_user_func( array($className, "d_$name"), $value, 
$object );
        }
 
        /**

-- 
To view, visit https://gerrit.wikimedia.org/r/151575
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I0f83bc934a0d2b26b3f497ae76de687d12574ee5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/PhpTags
Gerrit-Branch: master
Gerrit-Owner: Pastakhov <[email protected]>
Gerrit-Reviewer: Pastakhov <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to