mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-04 15:57:45 +02:00
[ticket/9871] Typehint and comment on var types
PHPBB3-9871
This commit is contained in:
@@ -14,11 +14,16 @@ namespace phpbb;
|
|||||||
*/
|
*/
|
||||||
class version_helper
|
class version_helper
|
||||||
{
|
{
|
||||||
|
/** @var \phpbb\cache\service */
|
||||||
protected $cache;
|
protected $cache;
|
||||||
|
|
||||||
|
/** @var \phpbb\config\config */
|
||||||
protected $config;
|
protected $config;
|
||||||
|
|
||||||
|
/** @var \phpbb\user */
|
||||||
protected $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->cache = $cache;
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
|
Reference in New Issue
Block a user