[ticket/11768] Updated various annotations

PHPBB3-11768
This commit is contained in:
JoshyPHP 2015-03-06 13:08:18 +01:00
parent 1b4bdff3b3
commit 40c54898cc
5 changed files with 24 additions and 28 deletions

View file

@ -27,7 +27,7 @@ class data_access
protected $bbcodes_table; protected $bbcodes_table;
/** /**
* @var \phpbb_db_driver_interface * @var \phpbb\db\driver\driver_interface
*/ */
protected $db; protected $db;
@ -54,13 +54,12 @@ class data_access
/** /**
* Constructor * Constructor
* *
* @param \phpbb\db\driver\driver_interface $db Database connection * @param \phpbb\db\driver\driver_interface $db Database connection
* @param string $bbcodes_table Name of the BBCodes table * @param string $bbcodes_table Name of the BBCodes table
* @param string $smilies_table Name of the smilies table * @param string $smilies_table Name of the smilies table
* @param string $styles_table Name of the styles table * @param string $styles_table Name of the styles table
* @param string $words_table Name of the words table * @param string $words_table Name of the words table
* @param string $styles_path Path to the styles dir * @param string $styles_path Path to the styles dir
* @return null
*/ */
public function __construct(\phpbb\db\driver\driver_interface $db, $bbcodes_table, $smilies_table, $styles_table, $words_table, $styles_path) public function __construct(\phpbb\db\driver\driver_interface $db, $bbcodes_table, $smilies_table, $styles_table, $words_table, $styles_path)
{ {

View file

@ -104,7 +104,7 @@ interface parser_interface
/** /**
* Set multiple variables to be used by the parser * Set multiple variables to be used by the parser
* *
* @param array Associative array of [name => value] * @param array $vars Associative array of [name => value]
* @return null * @return null
*/ */
public function set_vars(array $vars); public function set_vars(array $vars);

View file

@ -23,7 +23,7 @@ use s9e\TextFormatter\Configurator\Items\UnsafeTemplate;
class factory implements \phpbb\textformatter\cache_interface class factory implements \phpbb\textformatter\cache_interface
{ {
/** /**
* @var \phpbb\cache\driver_interface $cache * @var \phpbb\cache\driver\driver_interface
*/ */
protected $cache; protected $cache;
@ -103,12 +103,11 @@ class factory implements \phpbb\textformatter\cache_interface
/** /**
* Constructor * Constructor
* *
* @param \phpbb\textformatter\data_access $data_access * @param \phpbb\textformatter\data_access $data_access
* @param \phpbb\cache\driver\driver_interface $cache * @param \phpbb\cache\driver\driver_interface $cache
* @param string $cache_dir Path to the cache dir * @param string $cache_dir Path to the cache dir
* @param string $cache_key_parser Cache key used for the parser * @param string $cache_key_parser Cache key used for the parser
* @param string $cache_key_renderer Cache key used for the renderer * @param string $cache_key_renderer Cache key used for the renderer
* @return null
*/ */
public function __construct(\phpbb\textformatter\data_access $data_access, \phpbb\cache\driver\driver_interface $cache, $cache_dir, $cache_key_parser, $cache_key_renderer) public function __construct(\phpbb\textformatter\data_access $data_access, \phpbb\cache\driver\driver_interface $cache, $cache_dir, $cache_key_parser, $cache_key_renderer)
{ {

View file

@ -34,11 +34,10 @@ class parser implements \phpbb\textformatter\parser_interface
/** /**
* Constructor * Constructor
* *
* @param \phpbb\cache\driver_interface $cache * @param \phpbb\cache\driver_interface $cache
* @param string $key Cache key * @param string $key Cache key
* @param \phpbb\user $user * @param \phpbb\user $user
* @param factory $factory * @param factory $factory
* @return null
*/ */
public function __construct(\phpbb\cache\driver\driver_interface $cache, $key, \phpbb\user $user, factory $factory) public function __construct(\phpbb\cache\driver\driver_interface $cache, $key, \phpbb\user $user, factory $factory)
{ {
@ -194,7 +193,7 @@ class parser implements \phpbb\textformatter\parser_interface
/** /**
* Return the instance of s9e\TextFormatter\Parser used by this object * Return the instance of s9e\TextFormatter\Parser used by this object
* *
* @return s9e\TextFormatter\Parser * @return \s9e\TextFormatter\Parser
*/ */
public function get_parser() public function get_parser()
{ {

View file

@ -51,11 +51,10 @@ class renderer implements \phpbb\textformatter\renderer_interface
/** /**
* Constructor * Constructor
* *
* @param \phpbb\cache\driver\driver_interface $cache * @param \phpbb\cache\driver\driver_interface $cache
* @param string $cache_dir Path to the cache dir * @param string $cache_dir Path to the cache dir
* @param string $key Cache key * @param string $key Cache key
* @param factory $factory * @param factory $factory
* @return null
*/ */
public function __construct(\phpbb\cache\driver\driver_interface $cache, $cache_dir, $key, factory $factory) public function __construct(\phpbb\cache\driver\driver_interface $cache, $cache_dir, $key, factory $factory)
{ {
@ -153,7 +152,7 @@ class renderer implements \phpbb\textformatter\renderer_interface
/** /**
* Return the instance of s9e\TextFormatter\Renderer used by this object * Return the instance of s9e\TextFormatter\Renderer used by this object
* *
* @return s9e\TextFormatter\Renderer * @return \s9e\TextFormatter\Renderer
*/ */
public function get_renderer() public function get_renderer()
{ {