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

phpbb_extension_metadata_manager has wrong docs and too many arguments

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: Extensions
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: