Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-11450

phpbb_extension_metadata_manager has wrong docs and too many arguments

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.1.0-a1
    • 3.1.0-dev
    • Extensions
    • None

      	/**
      	* Creates the metadata manager
      	*
      	* @param phpbb_db_driver $db A database connection
      	* @param string $extension_manager An instance of the phpbb extension manager
      	* @param string $phpbb_root_path Path to the phpbb includes directory.
      	* @param string $phpEx php file extension
      	*/
      	public function __construct($ext_name, phpbb_db_driver $db, phpbb_extension_manager $extension_manager, $phpbb_root_path, $phpEx = '.php', phpbb_template $template, phpbb_config $config)

      Several arguments are missing in the doc block,
      But db and phpEx can be dropped, as they are not used at all.

            nickvergessen Joas Schilling
            nickvergessen Joas Schilling
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: