Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11450

phpbb_extension_metadata_manager has wrong docs and too many arguments

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.0-dev
    • 3.1.0-a1
    • Extensions
    • None

    Description

      	/**
      	* 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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: