1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[ticket/9871] Typehint and comment on var types

PHPBB3-9871
This commit is contained in:
Nathan Guse 2014-03-05 19:18:54 -06:00
parent dc5a34eb88
commit 98542547e2

View File

@ -14,11 +14,16 @@ namespace phpbb;
*/
class version_helper
{
/** @var \phpbb\cache\service */
protected $cache;
/** @var \phpbb\config\config */
protected $config;
/** @var \phpbb\user */
protected $user;
public function __construct($cache, $config, $user)
public function __construct(\phpbb\cache\service $cache, \phpbb\config\config $config, \phpbb\user $user)
{
$this->cache = $cache;
$this->config = $config;