[ticket/9657] Add type hints for classes

PHPBB3-9657
This commit is contained in:
Joas Schilling 2013-07-11 22:41:24 -04:00
parent 5ab0090e6c
commit 003a104f93
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ class phpbb_content_visibility
* @param string $php_ext PHP Extension
* @return null
*/
public function __construct($auth, phpbb_db_driver $db, $user, $phpbb_root_path, $php_ext, $forums_table, $posts_table, $topics_table, $users_table)
public function __construct(phpbb_auth $auth, phpbb_db_driver $db, phpbb_user $user, $phpbb_root_path, $php_ext, $forums_table, $posts_table, $topics_table, $users_table)
{
$this->auth = $auth;
$this->db = $db;

View file

@ -84,7 +84,7 @@ abstract class phpbb_feed_base
* @param string $phpEx php file extension
* @return null
*/
function __construct(phpbb_feed_helper $helper, phpbb_config $config, phpbb_db_driver $db, phpbb_cache_driver_interface $cache, phpbb_user $user, phpbb_auth $auth, $content_visibility, $phpEx)
function __construct(phpbb_feed_helper $helper, phpbb_config $config, phpbb_db_driver $db, phpbb_cache_driver_interface $cache, phpbb_user $user, phpbb_auth $auth, phpbb_content_visibility $content_visibility, $phpEx)
{
$this->config = $config;
$this->helper = $helper;