diff options
Diffstat (limited to 'includes/WikiError.php')
-rw-r--r-- | includes/WikiError.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/WikiError.php b/includes/WikiError.php index 1b2c03bf..029184d4 100644 --- a/includes/WikiError.php +++ b/includes/WikiError.php @@ -59,8 +59,8 @@ class WikiError { * @return bool * @static */ - function isError( &$object ) { - return is_a( $object, 'WikiError' ); + public static function isError( $object ) { + return $object instanceof WikiError; } } |