diff options
author | Tristan Darricau <github@nicofuma.fr> | 2014-06-28 13:19:55 +0200 |
---|---|---|
committer | Tristan Darricau <github@nicofuma.fr> | 2014-06-28 13:19:55 +0200 |
commit | eb13b4ae28223700034ae7482ab27a6d2cdbccd1 (patch) | |
tree | 608f069814aed414c2a31be5f79a14af0dcf8a01 /phpBB/phpbb/permissions.php | |
parent | 404c2f11448f53e55eca4cfdf082671230711241 (diff) | |
download | forums-eb13b4ae28223700034ae7482ab27a6d2cdbccd1.tar forums-eb13b4ae28223700034ae7482ab27a6d2cdbccd1.tar.gz forums-eb13b4ae28223700034ae7482ab27a6d2cdbccd1.tar.bz2 forums-eb13b4ae28223700034ae7482ab27a6d2cdbccd1.tar.xz forums-eb13b4ae28223700034ae7482ab27a6d2cdbccd1.zip |
[ticket/12782] Use an interface for the phpbb event_dispatcher
PHPBB3-12782
Diffstat (limited to 'phpBB/phpbb/permissions.php')
-rw-r--r-- | phpBB/phpbb/permissions.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/permissions.php b/phpBB/phpbb/permissions.php index 3f51016c93..9b3dcadf32 100644 --- a/phpBB/phpbb/permissions.php +++ b/phpBB/phpbb/permissions.php @@ -17,7 +17,7 @@ class permissions { /** * Event dispatcher object - * @var \phpbb\event\dispatcher + * @var \phpbb\event\dispatcher_interface */ protected $dispatcher; @@ -30,10 +30,10 @@ class permissions /** * Constructor * - * @param \phpbb\event\dispatcher $phpbb_dispatcher Event dispatcher + * @param \phpbb\event\dispatcher_interface $phpbb_dispatcher Event dispatcher * @param \phpbb\user $user User Object */ - public function __construct(\phpbb\event\dispatcher $phpbb_dispatcher, \phpbb\user $user) + public function __construct(\phpbb\event\dispatcher_interface $phpbb_dispatcher, \phpbb\user $user) { $this->dispatcher = $phpbb_dispatcher; $this->user = $user; |