mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
[ticket/12715] Cleanup comments in \phpbb\feed\*
PHPBB3-12715
This commit is contained in:
parent
047b709c47
commit
df041c1086
3 changed files with 20 additions and 14 deletions
|
@ -70,15 +70,14 @@ abstract class base
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param \phpbb\feed\helper $helper Feed helper
|
* @param \phpbb\feed\helper $helper Feed helper
|
||||||
* @param \phpbb\config\config $config Config object
|
* @param \phpbb\config\config $config Config object
|
||||||
* @param \phpbb\db\driver\driver_interface $db Database connection
|
* @param \phpbb\db\driver\driver_interface $db Database connection
|
||||||
* @param \phpbb\cache\driver\driver_interface $cache Cache object
|
* @param \phpbb\cache\driver\driver_interface $cache Cache object
|
||||||
* @param \phpbb\user $user User object
|
* @param \phpbb\user $user User object
|
||||||
* @param \phpbb\auth\auth $auth Auth object
|
* @param \phpbb\auth\auth $auth Auth object
|
||||||
* @param \phpbb\content_visibility $content_visibility Auth object
|
* @param \phpbb\content_visibility $content_visibility Auth object
|
||||||
* @param string $phpEx php file extension
|
* @param string $phpEx php file extension
|
||||||
* @return null
|
|
||||||
*/
|
*/
|
||||||
function __construct(\phpbb\feed\helper $helper, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\cache\driver\driver_interface $cache, \phpbb\user $user, \phpbb\auth\auth $auth, \phpbb\content_visibility $content_visibility, $phpEx)
|
function __construct(\phpbb\feed\helper $helper, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db, \phpbb\cache\driver\driver_interface $cache, \phpbb\user $user, \phpbb\auth\auth $auth, \phpbb\content_visibility $content_visibility, $phpEx)
|
||||||
{
|
{
|
||||||
|
@ -133,6 +132,9 @@ abstract class base
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set key
|
* Set key
|
||||||
|
*
|
||||||
|
* @param string $key Key
|
||||||
|
* @param mixed $value Value
|
||||||
*/
|
*/
|
||||||
function set($key, $value)
|
function set($key, $value)
|
||||||
{
|
{
|
||||||
|
@ -141,6 +143,9 @@ abstract class base
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get key
|
* Get key
|
||||||
|
*
|
||||||
|
* @param string $key Key
|
||||||
|
* @return mixed
|
||||||
*/
|
*/
|
||||||
function get($key)
|
function get($key)
|
||||||
{
|
{
|
||||||
|
|
|
@ -13,6 +13,8 @@
|
||||||
|
|
||||||
namespace phpbb\feed;
|
namespace phpbb\feed;
|
||||||
|
|
||||||
|
use Symfony\Component\DependencyInjection\ContainerInterface;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Factory class to return correct object
|
* Factory class to return correct object
|
||||||
*/
|
*/
|
||||||
|
@ -20,7 +22,7 @@ class factory
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* Service container object
|
* Service container object
|
||||||
* @var object
|
* @var ContainerInterface
|
||||||
*/
|
*/
|
||||||
protected $container;
|
protected $container;
|
||||||
|
|
||||||
|
@ -33,12 +35,11 @@ class factory
|
||||||
/**
|
/**
|
||||||
* Constructor
|
* Constructor
|
||||||
*
|
*
|
||||||
* @param objec $container Container object
|
* @param ContainerInterface $container Container object
|
||||||
* @param \phpbb\config\config $config Config object
|
* @param \phpbb\config\config $config Config object
|
||||||
* @param \phpbb\db\driver\driver_interface $db Database connection
|
* @param \phpbb\db\driver\driver_interface $db Database connection
|
||||||
* @return null
|
|
||||||
*/
|
*/
|
||||||
public function __construct($container, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db)
|
public function __construct(ContainerInterface $container, \phpbb\config\config $config, \phpbb\db\driver\driver_interface $db)
|
||||||
{
|
{
|
||||||
$this->container = $container;
|
$this->container = $container;
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
|
|
|
@ -36,7 +36,7 @@ class helper
|
||||||
* @param \phpbb\config\config $config Config object
|
* @param \phpbb\config\config $config Config object
|
||||||
* @param \phpbb\user $user User object
|
* @param \phpbb\user $user User object
|
||||||
* @param string $phpbb_root_path Root path
|
* @param string $phpbb_root_path Root path
|
||||||
* @return null
|
* @param string $phpEx PHP extension
|
||||||
*/
|
*/
|
||||||
public function __construct(\phpbb\config\config $config, \phpbb\user $user, $phpbb_root_path, $phpEx)
|
public function __construct(\phpbb\config\config $config, \phpbb\user $user, $phpbb_root_path, $phpEx)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue