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:
parent
dc5a34eb88
commit
98542547e2
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user