0 users online. Create an account or sign in to join them.Users

Announcement

Symphony's issue tracker has been moved to Github.

Issues are displayed here for reference only and cannot be created or edited.

Browse

Closed#470: Class GenericExceptionHandler: Missing parameter in DocBlock

/**
 * The initialise function will set the exception_handler to the this class's
 * handler function
 */
public static function initialise($Log = null){
    if(!is_null($Log)){
        self::$_Log = $Log;
    }
    set_exception_handler(array(__CLASS__, 'handler'));
}

to

/**
 * The initialise function will set the exception_handler to the this class's
 * handler function
 *
 * @param Log|null $log
 *  An instance of a Symphony Log object to write errors to
 */

By the way:

public static function initialise(Log $Log = null){
    if(!is_null($Log)){
        self::$_Log = $Log;
    }
    set_exception_handler(array(__CLASS__, 'handler'));
}

Thanks for this! Fixed in this commit

This issue is closed.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details